/* WO-WEB-1 — skoolium.ca v0. The mockup's inline styles as classes (strict CSP: style-src 'self').
   Colours: brand kit v1.1. Type: Sora 400/600/700, self-hosted (@fontsource/sora, SIL OFL 1.1). */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/sora-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/sora-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/sora-latin-700-normal.woff2') format('woff2');
}

:root {
  --aubergine: #2b1433;
  --plum: #4a1d57;
  --ink: #2b1433;
  --text: #3d2846;
  --muted: #5e4a66;
  --rose: #c2185b;
  --rose-dark: #eb759e;
  --teal: #0e7c70;
  --teal-dark: #5ed6c8;
  --teal-deep: #0b5f56;
  --teal-bg: #e6f4f2;
  --mist: #f5eef6;
  --page: #fbf8fc;
  --line: #eadfee;
  --white: #ffffff;
}

[hidden] {
  display: none !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Sora, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--plum);
}
a:hover {
  color: var(--rose);
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 6px;
}
.cta-band :focus-visible {
  outline-color: var(--teal-dark);
}

h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--white);
  border: 2px solid var(--plum);
  border-radius: 999px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Buttons and links: every target is at least 44 px high (WCAG 2.2 target size). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  cursor: pointer;
}
.btn-plum {
  background: var(--plum);
  color: var(--white);
  padding: 12px 20px;
  font-size: 15px;
}
.btn-plum:hover {
  background: var(--aubergine);
  color: var(--white);
}
.btn-rose {
  background: var(--rose);
  color: var(--white);
  padding: 14px 24px;
  font-size: 16px;
  border: 0;
}
.btn-rose:hover {
  background: #a3134c;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
  padding: 12px 22px;
  font-size: 16px;
}
.btn-mist {
  color: var(--mist);
  border: 2px solid var(--mist);
  padding: 14px 26px;
  font-size: 17px;
}
.btn-mist:hover {
  color: var(--white);
  border-color: var(--white);
}
.btn-lg {
  padding: 16px 28px;
  font-size: 17px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rose {
  color: var(--rose);
}
.teal {
  color: var(--teal);
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.logo img {
  height: 30px;
  width: auto;
}
.nav-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  flex: 1 1 auto;
  font-size: 15px;
}
.nav-sections a,
.nav-actions > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 15px;
}
.nav-actions > a:not(.btn) {
  padding: 0 8px;
}
.nav-actions .lang {
  min-width: 44px;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
}

/* « Aujourd'hui » */
.today {
  padding-top: 56px;
  padding-bottom: 56px;
}
.today-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  /* The mockup's #0E7C70 is 4.4:1 on this tint (axe, WCAG 1.4.3); the deeper teal is ≥ 6:1. */
  color: var(--teal-deep);
  background: var(--teal-bg);
  border-radius: 999px;
  padding: 6px 14px;
}
.today-meta .date {
  font-size: 15px;
  color: var(--muted);
}
.today-meta .note {
  font-size: 13px;
  color: var(--muted);
}
.today-item {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.today-text {
  flex: 1 1 440px;
  min-width: 0;
}
.today-text h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -0.02em;
}
.today-text .lead {
  margin-bottom: 32px;
  font-size: 19px;
  max-width: 560px;
}
.today-visual {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

/* Drawn devices */
.device {
  margin: 0;
  background: var(--aubergine);
}
.device p {
  margin: 0;
}
.tablet {
  width: 100%;
  max-width: 480px;
  border-radius: 28px;
  padding: 18px;
}
.tablet .screen {
  background: var(--white);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tablet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.tablet-top .school {
  font-weight: 600;
  color: var(--plum);
}
.tablet-hello {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  text-align: center;
  color: var(--text);
}
.tablet-hello .greeting {
  font-size: 28px;
  font-weight: 700;
  color: var(--plum);
}
.tablet-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tablet-modes span {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--plum);
  background: var(--mist);
  border-radius: 12px;
  padding: 12px 0;
}
.tablet-modes .on {
  color: var(--white);
  background: var(--plum);
}
.phone {
  width: 300px;
  max-width: 100%;
  border-radius: 40px;
  padding: 14px;
}
.phone .screen {
  background: var(--white);
  border-radius: 28px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 480px;
}
.phone-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.phone-child {
  background: var(--teal-bg);
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  color: var(--teal-deep);
}
.phone-child .small {
  font-size: 13px;
  margin-bottom: 4px;
}
.phone-child .name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.phone-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.phone-card .label {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.phone-card .label.rose {
  color: var(--rose);
}
.phone-card .title {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.phone-card .read {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.list {
  width: 100%;
  max-width: 460px;
  border-radius: 24px;
  padding: 32px;
  color: var(--mist);
}
.list-label {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rose-dark);
}
.list ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.5;
}
.bullet {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Hero video (WO-WEB-2 fills it) */
.video {
  margin: 0;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: var(--aubergine);
}
.video figcaption {
  font-size: 14px;
  color: var(--muted);
}
.video-toggle {
  padding: 8px 20px;
  font-size: 15px;
}

/* Platform */
.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.platform {
  padding-top: 72px;
  padding-bottom: 72px;
}
.platform-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  margin-bottom: 40px;
}
.platform-intro {
  flex: 1 1 520px;
  min-width: 0;
}
.platform h2,
.cta h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--plum);
  letter-spacing: -0.01em;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text);
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}
.dot.pilote {
  background: var(--teal);
}
.dot.partie {
  border: 3px solid var(--plum);
}
.dot.prevu {
  background: #d9cde0;
}
.modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.module {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  min-height: 200px;
}
.module.pilote {
  background: #f3faf9;
  border-color: #bfe3de;
}
.module-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.module .group {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.module .status {
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.module.pilote .status {
  color: var(--white);
  background: var(--teal);
}
.module.partie .status {
  color: var(--plum);
  background: var(--mist);
}
.module.prevu .status {
  color: var(--muted);
  background: #f2edf4;
}
.module h3 {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--plum);
}
.module p {
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.module-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
}

/* News and guides */
.news-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 32px;
}
.news {
  flex: 1 1 460px;
  min-width: 0;
}
.guides {
  flex: 1 1 420px;
  min-width: 0;
}
.news h2,
.guides h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3.4vw, 32px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--plum);
}
.intro {
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--muted);
}
.news-list li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.news-list time {
  flex: 0 0 96px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}
.news-list div {
  min-width: 0;
}
.news-list .title {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.news-list p:not(.title) {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guide {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.guide .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.guide .soon {
  color: var(--rose);
}
.guide .title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

/* Commitments */
.about {
  padding-top: 40px;
  padding-bottom: 72px;
}
.commitments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}
.commitments li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.commitments .title {
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--plum);
}
.commitments p:not(.title) {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

/* Closing band */
.cta-band {
  background: var(--aubergine);
  color: var(--mist);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding-top: 72px;
  padding-bottom: 72px;
}
.cta-text {
  flex: 1 1 520px;
  min-width: 0;
}
.cta-text img {
  height: 34px;
  width: auto;
  margin-bottom: 24px;
}
.cta h2 {
  color: var(--white);
}
.cta .lead {
  color: var(--mist);
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}
.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* 404 */
.not-found {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.not-found h1,
.not-found h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--plum);
}
.not-found h2 {
  margin-top: 24px;
}
.not-found a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Small screens: 16 px side gutter, tighter rhythm. */
@media (max-width: 600px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  .today {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .today-item {
    gap: 32px;
  }
  .today-text,
  .today-visual,
  .platform-intro,
  .news,
  .guides,
  .cta-text {
    flex-basis: 100%;
  }
  .nav-sections {
    gap: 0 16px;
    order: 3;
    flex-basis: 100%;
  }
  .platform,
  .cta {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .news-guides {
    padding-top: 48px;
  }
  .news-list li {
    flex-direction: column;
    gap: 4px;
  }
  .news-list time {
    flex-basis: auto;
  }
  .list {
    padding: 24px;
  }
  .tablet .screen {
    padding: 16px;
  }
  .tablet-hello .greeting {
    font-size: 24px;
  }
}
