/* ==========================================================================
   École Les Oliviers — site public
   S'appuie sur ecole.css (jetons, boutons, pastilles, cartes, logo, toasts).
   Projet concept Démesure.
   ========================================================================== */

/* Nom arabe : Amiri auto-hébergée, puis polices système */
@font-face { font-family: 'Amiri'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../../assets/fonts/amiri-700-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --gut: 16px;
  --ar: "Amiri", "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", "Arabic Typesetting", "Segoe UI", Tahoma, serif;
  --nav-h: 64px;
  --sun-ink: #8a5a00;
  --bus-a: #c88a12;
}
@media (min-width: 768px) { :root { --gut: 32px; } }

html { scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { overflow-x: clip; }
.wrap { width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ar { font-family: var(--ar); font-weight: 700; letter-spacing: 0; text-transform: none; }
sup { font-size: .62em; line-height: 0; vertical-align: .55em; }
em { font-style: normal; }

/* Focus lisible sur les fonds sombres */
.demo-bar a:focus-visible, .connected :focus-visible, .pay :focus-visible:not(.sim *), .foot :focus-visible { outline-color: var(--sun); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 231, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); }
.nav__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.nav .ol-logo span { font-size: 16.5px; }
.nav__burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.nav__menu { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); padding: 4px var(--gut) 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(29, 38, 23, .35); }
.nav.is-open .nav__menu { display: block; animation: menu-in .35s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.nav__links { display: flex; flex-direction: column; }
.nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.nav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.nav__cta .btn { min-height: 46px; }
@media (min-width: 1100px) {
  .nav__burger { display: none; }
  .nav__menu { position: static; display: flex; align-items: center; gap: 24px; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav.is-open .nav__menu { animation: none; }
  .nav__links { flex-direction: row; gap: 2px; }
  .nav__links a { padding: 8px 13px; border: 0; border-radius: 999px; font-family: var(--text); font-size: 14.5px; letter-spacing: 0; color: var(--ink-2); transition: background-color .2s, color .2s; }
  .nav__links a:hover { background: var(--sand); color: var(--ink); }
  .nav__links a[aria-current] { color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
  .nav__cta { display: flex; gap: 8px; margin: 0; }
  .nav__cta .btn { min-height: 38px; padding: 0 15px; }
}

/* ---------- Titres et accroches communs ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.kicker--light { color: var(--leaf); }
.kicker--light::before { box-shadow: 0 0 0 4px rgba(240, 178, 61, .22); }
.sec h2 { font-size: clamp(33px, 7.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--olive); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-lead { margin-top: 18px; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 28px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: auto -20% 0 -20%; height: 50%; background: radial-gradient(60% 60% at 70% 40%, rgba(240, 178, 61, .14), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 28px; }
.hero__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 20px; }
.hero__fr { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.hero__name i { width: 28px; height: 1px; background: var(--olive); opacity: .45; }
.hero__name .ar { font-size: 25px; line-height: 1; color: var(--ink); }
.hero__title { font-size: clamp(41px, 10.6vw, 78px); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.hero__title em { font-size: 1.08em; line-height: .9; }
.hero__lead { margin-top: 22px; max-width: 54ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__cta .btn--lg { min-height: 52px; }
@media (max-width: 479px) { .hero__cta .btn { flex: 1 1 100%; } }

.hero__art { position: relative; width: 100%; max-width: 480px; margin: 6px auto 0; }
.art { width: 100%; height: auto; overflow: visible; }
.art__echo { fill: none; stroke: var(--olive); stroke-width: 1.4; opacity: .35; }
.br-stem { fill: none; stroke: #2b3a1c; stroke-width: 3.2; stroke-linecap: round; }
.l1 { fill: #a9c46a; }
.l2 { fill: #7f9f45; }
.l3 { fill: #cfdbb0; }
.olive ellipse { fill: #2b3a1c; }
.o-green ellipse { fill: #6d8a3a; }
.o-sun ellipse { fill: var(--sun); }
.olive circle { fill: #fffdf7; opacity: .5; }

.sticker { position: absolute; top: 1%; right: 2%; width: clamp(88px, 25%, 124px); transform: rotate(-10deg); filter: drop-shadow(0 12px 18px rgba(29, 38, 23, .2)); }
.sticker svg { width: 100%; height: auto; }
.sticker text { font-family: var(--mono); font-size: 10.4px; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); }
.sticker__ring { transform-origin: 60px 60px; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 1px rgba(29, 38, 23, .07), 0 18px 34px -18px rgba(29, 38, 23, .55); font-size: 13px; line-height: 1.25; white-space: nowrap; }
.float-card b { display: block; font-weight: 700; }
.float-card small { display: block; font-size: 12px; color: var(--ink-2); }
.float-card__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }
.float-card__ic .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.float-card__ic--sun { background: var(--sun-soft); color: var(--sun-ink); }
.float-card__ic--sun .ic { stroke-width: 1.9; }
.float-card--bus { left: 0; top: 18%; }
.float-card--call { right: -2%; bottom: 17%; }
@media (prefers-reduced-motion: no-preference) {
  .float-card--bus { animation: bob 7s ease-in-out infinite; }
  .float-card--call { animation: bob 7s ease-in-out -3.5s infinite; }
}
@keyframes bob { 50% { transform: translateY(-6px); } }

.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 14px; margin: 36px 0 0; padding: 24px 0 34px; border-top: 1px solid var(--line); }
.stat { grid-column: span 2; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stat--res { grid-column: span 3; }
.stat dd { margin: 0; font-family: var(--display); font-size: clamp(30px, 7.4vw, 46px); font-weight: 650; line-height: 1; letter-spacing: -.035em; }
.stat dt { font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.stat--res dd { color: var(--olive); }

@media (min-width: 960px) {
  .hero { padding-top: 52px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .hero__art { margin: 0 0 0 auto; }
  .stats { grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; }
  .stat, .stat--res { grid-column: auto; padding: 0 24px; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-left: 1px solid var(--line); }
}

/* ---------- Notre école ---------- */
.school { background: var(--paper); border-top: 1px solid var(--line); }
.school__grid { display: grid; gap: 40px; }
.quote { margin: 32px 0 0; padding: 22px 24px; border-radius: var(--r); background: var(--cream); border-left: 3px solid var(--sun); }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 5.4vw, 26px); line-height: 1.28; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13.5px; color: var(--ink-2); }
.quote figcaption b { display: block; font-size: 14.5px; color: var(--ink); }
.quote .av { background: var(--olive); color: var(--paper); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pillar { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.pillar__ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 14px 14px 14px 4px; background: var(--olive); color: var(--paper); }
.pillar h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.15; }
.pillar p { font-size: 15px; color: var(--ink-2); }
.pillar p b { color: var(--ink); }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .school__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .pillars { margin-top: 8px; }
  .pillar:nth-child(even) { transform: translateY(28px); }
  .reveal .pillar:nth-child(even):not(.is-in) { transform: translateY(46px); }
}

/* ---------- Niveaux ---------- */
.levels { background: var(--cream); }
.lv-grid { display: grid; gap: 16px; }
.lv { --lv-bg: var(--sand); --lv-ink: var(--ink-2); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.lv--primaire { --lv-bg: #fde6c2; --lv-ink: #8a5300; }
.lv--college { --lv-bg: #d8e8c4; --lv-ink: #3c5a1d; }
.lv--lycee { --lv-bg: #d6e3f2; --lv-ink: #24527f; }
.lv__top { position: relative; padding: 24px 24px 22px; background: var(--lv-bg); }
.lv__arch { position: absolute; top: 20px; right: 20px; display: grid; place-items: end center; width: 60px; height: 76px; padding-bottom: 12px; border-radius: 30px 30px 6px 6px; background: var(--lv-ink); color: var(--lv-bg); font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.lv__years { color: var(--lv-ink); }
.lv__top h3 { margin-top: 10px; font-size: 32px; line-height: 1; letter-spacing: -.035em; }
.lv__tag { max-width: 27ch; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.lv__body { display: grid; gap: 18px; padding: 20px 24px 22px; }
.lv__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.lv__facts div { padding: 10px 12px; background: var(--paper); }
.lv__facts dt { font-size: 12px; color: var(--ink-2); }
.lv__facts dd { margin: 2px 0 0; font-family: var(--display); font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.lv__exam { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.lv__exam .ic { color: var(--lv-ink); }
.lv__classes > p { color: var(--ink-2); }
.lv__classes ul { list-style: none; display: grid; gap: 7px; margin: 10px 0 0; padding: 0; }
.lv__classes li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.35; }
.lv__classes li b { flex: none; min-width: 54px; padding: 2px 6px; border-radius: 6px; background: var(--lv-bg); color: var(--lv-ink); font-family: var(--mono); font-size: 11.5px; font-weight: 400; text-align: center; }
.lv__fee { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: auto; padding: 18px 24px 22px; border-top: 1px dashed var(--line); }
.lv__fee-k { display: block; margin-bottom: 4px; font-size: 12.5px; color: var(--ink-2); }
.lv__fee-n { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.lv__fee-m { font-size: 12.5px; line-height: 1.4; text-align: right; color: var(--ink-2); }
.lv__fee-m b { color: var(--ink); white-space: nowrap; }
@media (min-width: 640px) and (max-width: 959px) { .lv-grid { grid-template-columns: 1fr 1fr; } .lv:last-child { grid-column: 1 / -1; } }
@media (min-width: 960px) { .lv-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Paiement et simulateur */
.pay { display: grid; gap: 28px; margin-top: clamp(40px, 6vw, 64px); padding: clamp(22px, 4.4vw, 48px); border-radius: 26px; background: var(--olive); color: var(--paper); position: relative; overflow: hidden; }
.pay::before { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -220px; border-radius: 50%; border: 1px solid rgba(255, 253, 247, .12); box-shadow: 0 0 0 60px rgba(255, 253, 247, .03), 0 0 0 120px rgba(255, 253, 247, .025); pointer-events: none; }
.pay > * { position: relative; }
.pay__title { font-size: clamp(27px, 5.6vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.pay__title em { color: var(--sun); }
.pay__info > p { max-width: 52ch; margin-top: 14px; color: rgba(255, 253, 247, .82); }
.plans { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 0; padding: 0; }
.plans li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 253, 247, .07); border: 1px solid rgba(255, 253, 247, .14); font-size: 13px; line-height: 1.35; color: rgba(255, 253, 247, .78); }
.plans b { display: block; margin-bottom: 2px; font-size: 14.5px; color: var(--paper); }
.plans__n { min-width: 30px; font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1; color: var(--sun); }
.sib { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; margin-top: 22px; }
.sib__big span { font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -.035em; color: var(--sun); }
.sib__big small { margin-left: 4px; font-size: 14.5px; color: rgba(255, 253, 247, .88); }
.sib__note { flex-basis: 100%; font-size: 13px; color: rgba(255, 253, 247, .82); }
@media (max-width: 519px) { .plans li { flex-direction: column; gap: 8px; } }

.sim { padding: 22px; border-radius: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.sim h3 { margin-bottom: 16px; font-size: 23px; }
.sim fieldset { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.sim legend { margin-bottom: 6px; padding: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.step { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.step__lbl { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 3px; }
.step__fee { font-size: 12.5px; color: var(--ink-2); }
.step__btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--ink); transition: background-color .2s, border-color .2s; }
.step__btn:hover:not(:disabled) { border-color: var(--ink-3); background: var(--paper); }
.step__btn:disabled { opacity: .35; cursor: default; }
.step__btn .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.step__n { min-width: 22px; font-size: 18px; font-weight: 700; text-align: center; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 10px 8px; border-radius: 11px; border: 1px solid var(--line); background: var(--cream); font-size: 13.5px; font-weight: 600; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.seg input:hover + span { border-color: var(--ink-3); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
@media (min-width: 520px) { .seg { grid-template-columns: repeat(4, 1fr); } }
.sim__out { display: block; padding: 18px; border-radius: 16px; background: var(--cream); }
.sim__out > span { display: block; }
.sim__k { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sim__big { margin-top: 4px; font-family: var(--display); font-size: clamp(34px, 9vw, 44px); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.sim__per { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.sim__lines { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.sim__line { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; color: var(--ink-2); }
.sim__line b { color: var(--ink); white-space: nowrap; }
.sim__line--save b { color: #2c6a37; }
.sim__empty { font-size: 14.5px; color: var(--ink-2); }
@media (min-width: 960px) { .pay { grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; } .sim { padding: 26px; } }

/* ---------- Vie scolaire ---------- */
.life { background: var(--paper); border-top: 1px solid var(--line); }
.day { margin-bottom: 16px; padding: 22px 22px 40px; border-radius: 20px; border: 1px solid var(--line); background: var(--cream); }
.day__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 40px; }
.day__title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.day__title .ic { color: var(--olive); }
.day__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; font-size: 12.5px; color: var(--ink-2); }
.day__legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.k-course { background: var(--olive); }
.k-break { background: var(--sun); }
.k-lunch { background: var(--leaf); }
.day__bar { position: relative; list-style: none; display: flex; gap: 3px; height: 46px; margin: 0; padding: 0; }
.day__bar::after { content: attr(data-end); position: absolute; right: 0; top: calc(100% + 9px); font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.day__bar li { position: relative; flex: var(--m) 1 0; min-width: 0; border-radius: 8px; background: var(--olive); }
.day__bar li.is-course { background: linear-gradient(180deg, var(--olive-2), var(--olive)); }
.day__bar li.is-break { background: var(--sun); }
.day__bar li.is-lunch { background: var(--leaf); }
.day__bar .t { position: absolute; left: 0; top: calc(100% + 9px); font-family: var(--mono); font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.day__bar .lbl { position: absolute; left: 50%; bottom: calc(100% + 7px); transform: translateX(-50%); font-size: 12px; font-weight: 700; white-space: nowrap; }
.day__bar .is-break .lbl { color: var(--sun-ink); }
.day__bar .is-lunch .lbl { color: var(--olive); }
@media (max-width: 639px) { .day__bar .t--minor { display: none; } }

.bento { display: grid; gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--cream); }
.tile__head { display: flex; align-items: flex-start; gap: 14px; }
.tile__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--olive); }
.tile h3 { font-size: 23px; line-height: 1.12; }
.tile__head p { margin-top: 3px; font-size: 14px; color: var(--ink-2); }
.tile__head p b { color: var(--ink); }
.tile__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-2); }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .tile--bus { grid-column: span 8; }
  .tile--meal { grid-column: span 4; }
  .tile--lang, .tile--clubs { grid-column: span 6; }
  .tile { padding: 26px; }
}

.circuits { display: grid; gap: 12px; }
.circ { --c: var(--olive-2); padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); }
.circ--A { --c: var(--bus-a); }
.circ--B { --c: var(--olive-2); }
.circ--C { --c: var(--blue); }
.circ__head { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.circ__badge { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 18px 18px 6px 6px; background: var(--c); color: var(--paper); font-family: var(--display); font-size: 17px; font-weight: 800; }
.circ--A .circ__badge { background: var(--sun); color: var(--ink); }
.circ__head b { display: block; font-size: 15px; line-height: 1.2; }
.circ__head small { display: block; font-size: 12.5px; color: var(--ink-2); }
.circ__stops { list-style: none; margin: 0; padding: 0; }
.circ__stops li { position: relative; display: flex; gap: 12px; padding: 0 0 13px 22px; font-size: 13.5px; line-height: 1.3; }
.circ__stops li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--c); background: var(--paper); box-sizing: border-box; }
.circ__stops li::after { content: ""; position: absolute; left: 7.5px; top: 15px; bottom: 1px; width: 2px; border-radius: 1px; background: var(--c); opacity: .3; }
.circ__stops li:last-child { padding-bottom: 0; font-weight: 700; }
.circ__stops li:last-child::before { background: var(--c); }
.circ__stops li:last-child::after { display: none; }
.circ__stops time { flex: none; min-width: 40px; font-family: var(--mono); font-size: 12px; }
.circ__seats { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
@media (min-width: 700px) { .circuits { grid-template-columns: repeat(3, 1fr); } }

.menu__label { margin-bottom: -8px; color: var(--ink-2); }
.menu { list-style: none; display: grid; margin: 0; padding: 0; }
.menu li { display: grid; grid-template-columns: 84px 1fr; gap: 4px 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.menu li:last-child { border-bottom: 0; }
.menu li span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.menu li.is-today { margin: 0 -10px; padding-inline: 10px; border-radius: 10px; border-bottom-color: transparent; background: var(--sun-soft); }
.menu li.is-today span { color: var(--sun-ink); }
.menu .today { grid-column: 2; justify-self: start; padding: 1px 7px; border-radius: 999px; background: var(--paper); font-size: 11.5px; font-weight: 700; color: var(--sun-ink); }

.langs { list-style: none; display: grid; margin: 0; padding: 0; }
.langs li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "w h" "t t"; align-items: center; gap: 3px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.langs li:last-child { border-bottom: 0; }
.langs__w { grid-area: w; justify-self: start; font-family: var(--display); font-size: 27px; font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
.langs__w.ar { font-family: var(--ar); font-size: 29px; line-height: 1.25; }
.langs__t { grid-area: t; font-size: 13.5px; color: var(--ink-2); }
.langs__t b { color: var(--ink); }
.langs__h { grid-area: h; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
@media (min-width: 1100px) {
  .langs { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .langs li:nth-last-child(2) { border-bottom: 0; }
}

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 600; }
.chips li:nth-child(4n+1) { border-color: transparent; background: var(--sun-soft); }
.chips li:nth-child(4n+3) { border-color: transparent; background: #e3edd3; }

/* ---------- École connectée ---------- */
.connected { position: relative; overflow: clip; background: var(--ink); color: var(--paper); }
.connected::before { content: ""; position: absolute; top: -10%; right: -25%; width: min(900px, 140vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(240, 178, 61, .16), rgba(169, 196, 106, .06) 55%, transparent); pointer-events: none; }
.connected__grid { position: relative; display: grid; gap: 52px; }
.connected h2 em { color: var(--sun); }
.connected .sec-lead { color: rgba(255, 253, 247, .76); }
.benefits { list-style: none; display: grid; gap: 12px; margin: 36px 0 0; padding: 0; }
.benefits li { padding: 20px; border-radius: 18px; border: 1px solid rgba(255, 253, 247, .1); background: rgba(255, 253, 247, .045); }
.benefits__ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 13px; background: rgba(169, 196, 106, .16); color: var(--leaf); }
.benefits__ic--red { background: rgba(201, 71, 47, .22); color: #f39a85; }
.benefits__ic--sun { background: rgba(240, 178, 61, .17); color: var(--sun); }
.benefits__ic--blue { background: rgba(47, 109, 179, .28); color: #9cc0ec; }
.benefits h3 { margin-bottom: 6px; font-size: 18px; line-height: 1.2; }
.benefits p { font-size: 14.5px; color: rgba(255, 253, 247, .72); }
.connected__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 34px; }
.link-light { font-size: 14.5px; font-weight: 600; color: rgba(255, 253, 247, .88); text-underline-offset: 4px; }
.link-light:hover { color: var(--sun); }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .connected__cta .btn { flex: 1 1 100%; } }

.phone-fig { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 0; }
.phone { position: relative; width: min(300px, 84vw); aspect-ratio: 300 / 616; padding: 10px; border-radius: 50px; background: #0b0f08; box-shadow: 0 0 0 1.5px #3c4832, inset 0 0 0 2px #262f1e, 0 60px 90px -40px rgba(0, 0, 0, .8); }
.phone__screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 12px 11px 8px; border-radius: 40px; background: radial-gradient(90% 50% at 78% 8%, rgba(240, 178, 61, .45), transparent 70%), linear-gradient(180deg, #6a8a3d 0%, #45622a 42%, #253419 100%); }
.phone__screen::before { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: 40px; border-radius: 50%; border: 1px solid rgba(255, 253, 247, .14); box-shadow: 0 0 0 34px rgba(255, 253, 247, .035); pointer-events: none; }
.phone__island { position: absolute; top: 11px; left: 50%; width: 92px; height: 27px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.phone__status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 16px 0 20px; font-size: 13px; font-weight: 700; color: #fff; }
.phone__sys { display: flex; align-items: flex-end; gap: 2px; }
.phone__sys i { width: 3px; border-radius: 1px; background: #fff; }
.phone__sys i:nth-child(1) { height: 5px; }
.phone__sys i:nth-child(2) { height: 7px; }
.phone__sys i:nth-child(3) { height: 9px; }
.phone__sys b { position: relative; width: 21px; height: 10px; margin-left: 5px; border: 1.5px solid rgba(255, 255, 255, .9); border-radius: 3px; }
.phone__sys b::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; border-radius: 1px; background: #fff; }
.phone__lock { position: relative; margin: 20px 0 18px; text-align: center; color: var(--paper); }
.phone__date { font-size: 14px; font-weight: 600; opacity: .9; }
.phone__date::first-letter { text-transform: uppercase; }
.phone__time { font-family: var(--display); font-size: 74px; font-weight: 600; font-stretch: 82%; line-height: .95; letter-spacing: -.02em; }
.notifs { position: relative; list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; }
.ntf { display: flex; gap: 10px; padding: 10px 12px 11px 10px; border-radius: 18px; background: rgba(255, 253, 247, .88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); color: var(--ink); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 170ms + 250ms); }
.ntf__app { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(29, 38, 23, .08); }
.ntf__app svg { width: 28px; height: 28px; }
.ntf__body { display: block; flex: 1; min-width: 0; }
.ntf__body > span { display: block; }
.ntf__meta { display: flex !important; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--ink-2); }
.ntf__meta b { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ntf__title { margin-top: 1px; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.ntf__text { display: -webkit-box !important; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.ntf--absence .ntf__title::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--red); vertical-align: 1px; }
.ntf.is-new { animation: ntf-in .7s var(--ease) both; transition-delay: 0s; }
@keyframes ntf-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } }
.reveal .phone-fig:not(.is-in) .ntf { opacity: 0; transform: translateY(-12px) scale(.97); }
.phone__bar { align-self: center; width: 112px; height: 4px; margin-top: auto; border-radius: 4px; background: rgba(255, 255, 255, .85); }
.phone-fig__cap { display: flex; align-items: baseline; gap: 9px; max-width: 36ch; font-size: 13px; line-height: 1.45; color: rgba(255, 253, 247, .72); }
.phone-fig__cap a { color: var(--sun); text-underline-offset: 3px; }
.live-dot { position: relative; top: -1px; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.connected .live-dot { background: #74d68c; }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: live 2.2s ease-out infinite; } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(116, 214, 140, .55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(116, 214, 140, 0); } }
@media (min-width: 960px) {
  .connected__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
  .phone { transform: rotate(2deg); }
}

/* ---------- Inscriptions ---------- */
.enrol { background: var(--cream); }
.enrol__grid { display: grid; gap: 40px; }
.steps { list-style: none; counter-reset: st; display: grid; margin: 34px 0 0; padding: 0; }
.steps li { counter-increment: st; position: relative; padding: 0 0 24px 54px; }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-family: var(--mono); font-size: 12px; color: var(--olive); }
.steps li::after { content: ""; position: absolute; left: 18.5px; top: 40px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-family: var(--display); font-size: 18px; font-weight: 650; letter-spacing: -.015em; }
.steps span { font-size: 14.5px; color: var(--ink-2); }
.enrol__card { padding: clamp(20px, 4vw, 38px); border-radius: 24px; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form__head { margin-bottom: 4px; }
.form__head h3 { font-size: 25px; }
.form__head p { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label { font-size: 14px; font-weight: 700; }
.req { color: var(--red); }
.opt { margin-left: 4px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 100px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231d2617' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field input::placeholder, .field textarea::placeholder { color: #8d947f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); background-color: var(--paper); box-shadow: 0 0 0 3px rgba(69, 98, 42, .2); }
.field [aria-invalid="true"] { border-color: var(--red); background-color: #fdf4f1; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(201, 71, 47, .2); }
.field__err { font-size: 13px; font-weight: 600; color: #b23a24; }
.field__err:empty { display: none; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--ink-2); }
@media (max-width: 479px) { .form__foot .btn { flex: 1 1 100%; } }
.form-ok { padding: 6px 0; }
.form-ok:focus { outline: none; }
.form-ok:not([hidden]) { animation: ok-in .6s var(--ease); }
@keyframes ok-in { from { opacity: 0; transform: translateY(10px); } }
.form-ok__ic { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.form-ok__ic .ic { width: 28px; height: 28px; stroke-width: 2.4; }
.form-ok h3 { font-size: clamp(25px, 5vw, 32px); line-height: 1.1; }
.form-ok__recap { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }
.form-ok__recap b { color: var(--ink); }
.form-ok__live { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; padding: 13px 15px; border-radius: 12px; background: var(--ok-soft); font-size: 14px; font-weight: 600; color: #2c6a37; }
.form-ok__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (min-width: 960px) { .enrol__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } .enrol__info { position: sticky; top: calc(var(--nav-h) + 32px); } }

/* ---------- Contact ---------- */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact__grid { display: grid; gap: 40px; }
.contact__list { list-style: none; display: grid; margin: 28px 0 0; padding: 0; }
.contact__list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.contact__list li:last-child { border-bottom: 0; }
.contact__list b { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.contact__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); color: var(--olive); }
.map { margin: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: #fbf8ef; box-shadow: var(--shadow); }
.map__canvas { position: relative; }
.map__canvas svg { width: 100%; height: auto; }
.map__lbl { position: absolute; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); pointer-events: none; }
.map__lbl--school { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; box-shadow: 0 8px 18px -8px rgba(29, 38, 23, .5); }
.map__lbl--sea { font-family: var(--serif); font-size: 16px; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--blue); }
.map__line--a { stroke: var(--bus-a); }
.map__line--b { stroke: var(--olive-2); }
.map__line--c { stroke: var(--blue); }
.map__stop--a { stroke: var(--bus-a); }
.map__stop--b { stroke: var(--olive-2); }
.map__stop--c { stroke: var(--blue); }
.map__pulse { transform-origin: 260px 104px; }
@media (prefers-reduced-motion: no-preference) { .map__pulse { animation: pulse 2.8s var(--ease) infinite; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .4; } 100% { transform: scale(1.8); opacity: 0; } }
.map__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--paper); font-size: 13px; color: var(--ink-2); }
.map__key { display: inline-flex; align-items: center; gap: 8px; }
.map__key i { width: 18px; height: 4px; border-radius: 2px; }
.k-a { background: var(--bus-a); }
.k-b { background: var(--olive-2); }
.k-c { background: var(--blue); }
@media (max-width: 479px) { .map__lbl { font-size: 9px; } .map__lbl--school { font-size: 11.5px; padding: 3px 8px; } .map__lbl--sea { font-size: 13px; } }
@media (min-width: 960px) { .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; } }

/* ---------- Pied de page ---------- */
.foot { padding: 64px 0 28px; background: var(--ink); color: rgba(255, 253, 247, .74); }
.foot__grid { display: grid; gap: 36px; }
.foot .ol-logo { color: var(--paper); }
.foot .ol-logo small { color: rgba(255, 253, 247, .6); }
.foot__ar { margin-top: 18px; font-size: 32px; line-height: 1.3; text-align: left; color: var(--sun); }
.foot__tag { max-width: 36ch; margin-top: 6px; font-size: 14.5px; }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot__col a { font-size: 14.5px; color: var(--paper); text-decoration: none; text-underline-offset: 3px; }
.foot__col a:hover { color: var(--sun); text-decoration: underline; }
.foot__h { margin-bottom: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 253, 247, .55); }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 253, 247, .12); font-size: 13px; }
.dm-sign { display: inline-flex; align-items: center; gap: .6em; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 253, 247, .16); color: var(--paper); font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; opacity: .85; transition: opacity .3s, border-color .3s; }
.dm-sign:hover { opacity: 1; border-color: rgba(255, 253, 247, .4); }
.dm-sign__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #ff4a1c; }
.dm-sign__w { transition: letter-spacing .6s var(--ease); }
.dm-sign:hover .dm-sign__w { letter-spacing: .3em; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr; } }

/* ---------- Apparitions discrètes ---------- */
.reveal [data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  .reveal [data-reveal]:not(.is-in), .reveal .phone-fig:not(.is-in) .ntf { opacity: 1; transform: none; }
  .sticker__ring { animation: none; }
}
