/* Components — Brightwheel-inspired */

/* Navigation — sticky top, full-width */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 0.85rem var(--s-3);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.nav__brand {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__brand span { color: var(--c-accent); }
.nav__links { display: flex; gap: var(--s-3); list-style: none; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-text-soft);
  padding: 0.4rem 0.2rem;
  position: relative;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--c-accent); }
.nav__actions { display: flex; gap: var(--s-2); align-items: center; }
.lang-switch { display: flex; gap: 4px; font-size: 0.75rem; }
.lang-switch button {
  padding: 0.35rem 0.65rem;
  min-width: 36px;
  min-height: 32px;
  border-radius: var(--r-sm);
  color: var(--c-text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--dur-fast) var(--ease-out);
}
/* Touch devices: enforce 44px minimum target */
@media (pointer: coarse) {
  .lang-switch button { min-width: 44px; min-height: 44px; }
}
.lang-switch button[aria-pressed="true"] { color: var(--c-accent); background: var(--c-accent-tint); }
.lang-switch button:hover { color: var(--c-text); }
/* ===== Shared real-app mock (green ScolaritéPlus app) ===== */
.app-collage { position: relative; aspect-ratio: 1.05; max-width: 540px; margin-inline: auto; width: 100%; }
.app-collage__inner { position: absolute; inset: 0; }
.ac-main { position: absolute; inset: 0 8% 12% 0; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.ac-phone { position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 9/16.5; background: #fff; border: 6px solid #0F1E3D; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ac-chip { position: absolute; top: 6%; right: 2%; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 0.6rem 0.9rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; color: var(--c-text); z-index: 3; }
.ac-chip .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--c-mint); color: #fff; display: grid; place-items: center; font-size: 0.7rem; }

/* App browser top bar */
.appbar { height: 30px; background: var(--c-surface-2); display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--c-border); font-size: 0.62rem; color: var(--c-text-muted); font-weight: 600; }
.appbar .d { width: 8px; height: 8px; border-radius: 50%; background: var(--c-border-strong); }
.appbar .d:nth-child(1){ background:#FF5C5C; } .appbar .d:nth-child(2){ background:#FFBD2E; } .appbar .d:nth-child(3){ background:#28C840; }

/* Real app web view — Page d'Accueil */
.appweb { flex: 1; display: flex; flex-direction: column; background: #fff; overflow: hidden; }
.appweb__header { background: var(--c-brand); color: #fff; display: flex; align-items: center; gap: 10px; padding: 9px 14px; }
.appweb__header .menus { display: flex; gap: 10px; }
.appweb__header svg { width: 17px; height: 17px; }
.appweb__title { flex: 1; text-align: center; line-height: 1.15; }
.appweb__title strong { display: block; font-size: 0.78rem; font-weight: 800; }
.appweb__title span { font-size: 0.62rem; opacity: 0.92; }
.appweb__av { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.6); flex-shrink: 0; }
.appweb__av img { width: 100%; height: 100%; object-fit: cover; }
.appweb__filters { display: flex; gap: 5px; padding: 9px 11px; }
.appweb__filter { flex: 1; border: 1px solid var(--c-border); border-radius: 7px; padding: 5px 7px; font-size: 0.52rem; color: var(--c-text-muted); display: flex; justify-content: space-between; align-items: center; gap: 4px; background: #fff; white-space: nowrap; overflow: hidden; }
.appweb__rows { flex: 1; overflow: hidden; }
.appweb__row { display: grid; grid-template-columns: 1.1fr 1fr 0.9fr auto; gap: 7px; padding: 8px 11px; border-bottom: 1px solid var(--c-border); align-items: center; }
.appweb__row--wait { background: #FFF7E6; }
.appweb .cell__label { font-size: 0.47rem; color: var(--c-text-muted); margin-bottom: 1px; }
.appweb .cell__val { font-size: 0.6rem; font-weight: 700; color: var(--c-text); line-height: 1.2; }
.appweb .cell__val--wait { color: #B27800; font-size: 0.52rem; }
.appweb__btn { background: #fff; border: 1px solid var(--c-border-strong); border-radius: 6px; padding: 5px 7px; font-size: 0.5rem; font-weight: 700; color: var(--c-text); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.appweb__btn svg { width: 11px; height: 11px; }

/* Green app mini-menu (inside phone) */
.app-mini { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; }
.app-mini__header { background: var(--c-brand); color: #fff; padding: 8px 10px; display: flex; align-items: center; gap: 6px; border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; }
.app-mini__av { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.7); overflow: hidden; flex-shrink: 0; }
.app-mini__av img { width: 100%; height: 100%; object-fit: cover; }
.app-mini__name { font-size: 0.62rem; font-weight: 800; }
.app-mini__body { flex: 1; display: flex; }
.app-mini__rail { width: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0; color: var(--c-text); }
.app-mini__rail svg { width: 13px; height: 13px; }
.app-mini__drawer { flex: 1; background: var(--c-brand); padding: 9px 8px; display: flex; flex-direction: column; gap: 7px; }
.app-mini__item { color: #fff; font-size: 0.6rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.app-mini__badge { background: #2A2A2A; color: #fff; font-size: 0.5rem; font-weight: 800; width: 12px; height: 12px; border-radius: 50%; display: grid; place-items: center; }

/* Brand logo: butterfly mark (image) + wordmark (HTML text) */
.brand-img { height: 34px; width: auto; display: block; }
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { height: 32px; width: auto; display: block; flex-shrink: 0; }
.brand-word { font-family: var(--ff-display, 'Plus Jakarta Sans', sans-serif); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--c-text); white-space: nowrap; }
@media (max-width: 600px) { .brand-mark { height: 28px; } .brand-word { display: none !important; } }

/* Mobile menu */
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--c-text);
  background: none; border: none; cursor: pointer;
}
.nav__burger svg { width: 26px; height: 26px; }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav--open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: var(--c-surface, #fff);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--s-1);
    z-index: 120;
  }
  .nav--open .nav__links li { width: 100%; }
  .nav--open .nav__links a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--r-md);
    font-size: 1rem;
    min-height: 44px;
  }
  .nav--open .nav__links a:hover { background: var(--c-surface-2, rgba(0,0,0,0.04)); }
}

/* Buttons — punchy coral CTA */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.85rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: all var(--dur-med) var(--ease-out);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--c-cta, var(--c-accent));
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  background: var(--c-cta-deep, var(--c-accent-deep));
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--c-cta-glow, var(--c-accent-glow));
}
.btn--ghost {
  background: var(--c-surface);
  border-color: var(--c-border-strong);
  color: var(--c-text);
}
.btn--ghost:hover {
  border-color: var(--c-text);
  transform: translateY(-1px);
}
.btn--lg {
  padding: 1.15rem 2.2rem;
  font-size: 1rem;
}

/* Cards */
.glass {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-med) var(--ease-out);
}
.glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-2);
}
.bento > * { grid-column: span 12; }
@media (min-width: 720px) {
  .bento > .b-3 { grid-column: span 6; }
  .bento > .b-4 { grid-column: span 6; }
  .bento > .b-6 { grid-column: span 6; }
  .bento > .b-8 { grid-column: span 8; }
  .bento > .b-12 { grid-column: span 12; }
}
@media (min-width: 1024px) {
  .bento > .b-3 { grid-column: span 3; }
  .bento > .b-4 { grid-column: span 4; }
  .bento > .b-6 { grid-column: span 6; }
  .bento > .b-tall { grid-row: span 2; }
}

/* Section */
.section { padding-block: var(--s-7); }
.section--tinted { background: var(--c-surface-tint); }
.section--cool { background: var(--c-surface-cool); }
.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
}
.section__head h2 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.section__head p { margin-inline: auto; font-size: 1.15rem; color: var(--c-text-muted); }

/* Hero — split layout */
.hero {
  padding-block: var(--s-6) var(--s-7);
  position: relative;
  overflow: hidden;
}
.hero__split { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-5); align-items: center; }
@media (max-width: 980px) { .hero__split { grid-template-columns: 1fr; gap: var(--s-5); } }
.hero__title {
  font-size: clamp(2.4rem, 1.5rem + 4.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--c-text);
  margin-block: var(--s-3);
}
.hero__title strong {
  color: var(--c-accent);
  font-weight: 800;
  font-style: normal;
}
.hero__sub { font-size: 1.2rem; color: var(--c-text-muted); max-width: 540px; line-height: 1.55; }
.hero__cta-row { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-3); }
.hero__trust { margin-top: var(--s-3); display: flex; align-items: center; gap: var(--s-2); font-size: 0.88rem; color: var(--c-text-muted); }
.hero__trust strong { color: var(--c-text); font-weight: 700; }
.hero__stars { color: var(--c-sun); letter-spacing: 0.05em; }

/* Hero visual mock — fake product UI */
.hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.mock-frame {
  position: absolute;
  background: var(--c-surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-frame--lg {
  inset: 0;
  border: 8px solid var(--c-text);
  background: var(--c-surface);
}
.mock-frame--sm {
  width: 38%;
  bottom: -5%;
  right: -5%;
  border: 6px solid var(--c-text);
  border-radius: var(--r-lg);
  aspect-ratio: 9/16;
  background: var(--c-surface);
}
.mock-bar { height: 36px; background: var(--c-surface-2); display: flex; align-items: center; padding-inline: 1rem; gap: 0.4rem; border-bottom: 1px solid var(--c-border); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-border-strong); }
.mock-dot:nth-child(1) { background: #FF5C5C; }
.mock-dot:nth-child(2) { background: #FFBD2E; }
.mock-dot:nth-child(3) { background: #28C840; }
.mock-content { padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.mock-row { display: flex; gap: 0.5rem; align-items: center; padding: 0.6rem; background: var(--c-surface-2); border-radius: var(--r-sm); }
.mock-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent-soft); flex-shrink: 0; }
.mock-line { height: 8px; background: var(--c-border-strong); border-radius: 4px; flex: 1; }
.mock-line--short { width: 60%; }
.mock-badge { padding: 0.2rem 0.5rem; background: var(--c-mint-soft); color: var(--c-mint); border-radius: var(--r-full); font-size: 0.65rem; font-weight: 700; }
.mock-card { background: var(--c-accent-tint); padding: 0.8rem; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 0.4rem; }
.mock-card-title { font-size: 0.7rem; font-weight: 700; color: var(--c-accent-deep); text-transform: uppercase; letter-spacing: 0.05em; }
.mock-card-big { font-size: 1.4rem; font-weight: 800; color: var(--c-text); }

/* Trust bar */
.trust-bar {
  padding-block: var(--s-4);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.trust-bar__label { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--c-text-muted); font-weight: 600; margin-bottom: var(--s-2); }
.trust-bar__logos { display: flex; flex-wrap: wrap; gap: var(--s-5); justify-content: center; align-items: center; opacity: 0.55; }
.trust-bar__logos > div { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; color: var(--c-text); letter-spacing: -0.01em; }

/* Pillar — big feature block */
.pillar-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: center;
  padding-block: var(--s-6);
}
.pillar-block + .pillar-block { border-top: 1px solid var(--c-border); }
.pillar-block--reverse { direction: rtl; }
.pillar-block--reverse > * { direction: ltr; }
@media (max-width: 980px) { .pillar-block, .pillar-block--reverse { grid-template-columns: 1fr; direction: ltr; gap: var(--s-4); } }

.pillar-tag {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pillar-tag--orange { background: var(--c-accent-tint); color: var(--c-accent-deep); }
.pillar-tag--blue { background: var(--c-primary-tint); color: var(--c-primary-2); }
.pillar-tag--mint { background: var(--c-mint-soft); color: #1E8054; }
.pillar-block h3 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); margin-block: var(--s-2); line-height: 1.05; }
.pillar-block > div > p { font-size: 1.1rem; margin-bottom: var(--s-3); }

/* Pillar visual — colored block with mock card */
.pillar-visual {
  aspect-ratio: 5/4;
  border-radius: var(--r-2xl);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: var(--s-4);
}
.pillar-visual--orange { background: var(--c-accent-tint); }
.pillar-visual--blue { background: var(--c-primary-tint); }
.pillar-visual--mint { background: var(--c-mint-soft); }
.pillar-visual--cream { background: var(--c-sun-soft); }
.pillar-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 380px;
}
.pillar-card-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--s-2); }
.pillar-card-head .ico { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--c-accent); color: #fff; display: grid; place-items: center; font-size: 1rem; font-weight: 700; }
.pillar-card-head strong { font-size: 0.95rem; color: var(--c-text); }
.pillar-card-head span { font-size: 0.78rem; color: var(--c-text-muted); display: block; }
.pillar-card-body { display: flex; flex-direction: column; gap: 0.6rem; }
.pillar-card-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; padding: 0.5rem 0; border-bottom: 1px solid var(--c-border); }
.pillar-card-row:last-child { border-bottom: none; }
.pillar-card-row strong { color: var(--c-text); font-weight: 600; }
.pillar-card-row .ok { color: var(--c-mint); font-weight: 700; }
.pillar-card-row .badge { background: var(--c-mint-soft); color: var(--c-mint); padding: 0.2rem 0.55rem; border-radius: var(--r-full); font-size: 0.7rem; font-weight: 700; }

/* Stats hero — big numbers band */
.hero__stats {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-4);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat__num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
  letter-spacing: -0.025em;
}
.stat__label {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  font-weight: 500;
}

/* Pills */
.pill-row { display:flex; flex-wrap:wrap; gap: 0.5rem; }
.pill {
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-full);
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  font-size: 0.82rem;
  color: var(--c-text-soft);
  font-weight: 600;
}

/* Feature mini card */
.feature { padding: var(--s-3); }
.feature__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--c-accent);
  background: var(--c-accent-tint);
  margin-bottom: var(--s-2);
}
.feature h3 { font-size: 1.2rem; font-weight: 700; color: var(--c-text); margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.feature p { font-size: 0.95rem; }

/* Check list */
.check-list { list-style:none; display:flex; flex-direction:column; gap: 0.85rem; margin-top: var(--s-2); }
.check-list li { display:flex; gap: 0.8rem; align-items:flex-start; font-size: 1rem; color: var(--c-text-soft); }
.check-list li::before {
  content:"✓";
  color: #fff;
  background: var(--c-mint);
  flex-shrink: 0;
  font-weight: 700;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Target cards */
.target-cards { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-2); }
.target { padding: var(--s-4); }
.target__emoji {
  font-size: 1.8rem;
  display: inline-grid;
  place-items: center;
  width: 60px; height: 60px;
  background: var(--c-sun-soft);
  border-radius: var(--r-md);
  margin-bottom: var(--s-2);
}
.target h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.target p { font-size: 0.95rem; }

/* Testimonial */
.testi { display:flex; flex-direction:column; gap: var(--s-3); justify-content: space-between; min-height: 240px; }
.testi__quote {
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--c-text);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.testi__quote::before { content: "“"; color: var(--c-accent); font-family: var(--ff-serif); font-size: 2.5rem; line-height: 0; vertical-align: -0.6rem; margin-inline-end: 0.2rem; }
.testi__author { display: flex; align-items: center; gap: var(--s-2); }
.testi__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}
.testi__meta { font-size: 0.85rem; color: var(--c-text-muted); }
.testi__meta strong { color: var(--c-text); display: block; font-weight: 700; font-size: 0.95rem; }

/* Big CTA — Brightwheel bottom band */
.cta-big {
  border-radius: var(--r-2xl);
  padding: var(--s-7) var(--s-4);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-deep) 100%);
  color: #fff;
}
.cta-big::before, .cta-big::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-big::before {
  width: 400px; height: 400px;
  background: rgba(255, 255, 255, 0.08);
  top: -150px; left: -150px;
}
.cta-big::after {
  width: 300px; height: 300px;
  background: rgba(255, 255, 255, 0.06);
  bottom: -100px; right: -50px;
}
.cta-big > * { position: relative; z-index: 1; }
.cta-big h2 { color: #fff; font-size: clamp(2rem, 1.5rem + 3vw, 3.5rem); margin-bottom: var(--s-2); }
.cta-big p { color: rgba(255, 255, 255, 0.85); margin: 0 auto var(--s-3); max-width: 560px; font-size: 1.1rem; }
.cta-big .btn--primary { background: #fff; color: var(--c-accent); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.cta-big .btn--primary:hover { background: var(--c-text); color: #fff; }
.cta-big .btn--ghost { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-big .btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* CTA strip (legacy soft variant) */
.cta-strip {
  border-radius: var(--r-2xl);
  padding: var(--s-6) var(--s-4);
  text-align: center;
  background: var(--c-surface-tint);
  border: 1px solid var(--c-border);
}

/* Footer */
.footer {
  padding-block: var(--s-5);
  border-top: 1px solid var(--c-border);
  margin-top: var(--s-7);
  text-align: center;
  color: var(--c-text-muted);
  font-size: 0.9rem;
}

/* Platform showcase — triptych Direction/Teachers/Parents */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr 0.85fr;
  gap: var(--s-3);
  align-items: end;
  margin-top: var(--s-5);
}
@media (max-width: 980px) {
  .showcase { grid-template-columns: 1fr; gap: var(--s-4); align-items: stretch; }
  .showcase__device { max-width: 480px; margin-inline: auto; width: 100%; }
}
.showcase__col { display: flex; flex-direction: column; gap: var(--s-2); }
.showcase__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.showcase__label--orange { background: var(--c-accent-tint); color: var(--c-accent-deep); }
.showcase__label--blue { background: var(--c-primary-tint); color: var(--c-primary-2); }
.showcase__label--mint { background: var(--c-mint-soft); color: #1E8054; }
.showcase__title { font-size: 1.15rem; font-weight: 700; color: var(--c-text); letter-spacing: -0.01em; }
.showcase__sub { font-size: 0.9rem; color: var(--c-text-muted); }

/* Device frames */
.device {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-text);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.device--desktop {
  aspect-ratio: 4/3;
  padding: 8px 8px 0;
}
.device--tablet {
  aspect-ratio: 4/5;
  padding: 8px;
  border-radius: var(--r-xl);
}
.device--phone {
  aspect-ratio: 9/17;
  padding: 8px;
  border-radius: var(--r-xl);
  max-width: 280px;
  margin-inline: auto;
  width: 100%;
}
.device__screen {
  background: var(--c-surface);
  height: 100%;
  border-radius: calc(var(--r-md) - 2px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.device--phone .device__screen { border-radius: calc(var(--r-lg) - 4px); }
.device__topbar {
  background: var(--c-surface-2);
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.65rem;
  color: var(--c-text-muted);
  font-weight: 600;
}
.device__topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-border-strong); }
.device__topbar .dot:nth-child(1) { background: #FF5C5C; }
.device__topbar .dot:nth-child(2) { background: #FFBD2E; }
.device__topbar .dot:nth-child(3) { background: #28C840; }
.device__body {
  flex: 1;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
}

/* Dashboard widgets */
.widget {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 0.7rem;
}
.widget--filled { background: var(--c-accent-tint); border-color: transparent; }
.widget--blue { background: var(--c-primary-tint); border-color: transparent; }
.widget--mint { background: var(--c-mint-soft); border-color: transparent; }
.widget__label { font-size: 0.6rem; font-weight: 700; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.widget__big { font-size: 1.4rem; font-weight: 800; color: var(--c-text); line-height: 1.1; margin-top: 0.2rem; letter-spacing: -0.02em; }
.widget__delta { font-size: 0.65rem; font-weight: 600; color: var(--c-mint); margin-top: 0.15rem; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

/* Mini chart */
.bars { display: flex; align-items: end; gap: 3px; height: 40px; margin-top: 0.4rem; }
.bars span { flex: 1; background: var(--c-primary-2); border-radius: 2px 2px 0 0; opacity: 0.85; }
.bars span:nth-child(odd) { opacity: 0.55; }

/* Tablet content — teacher grading */
.row-list { display: flex; flex-direction: column; gap: 0.4rem; }
.row-item { display: grid; grid-template-columns: 20px 1fr auto; gap: 0.5rem; align-items: center; padding: 0.45rem 0.55rem; background: var(--c-surface-2); border-radius: var(--r-sm); font-size: 0.72rem; }
.row-item .a { width: 18px; height: 18px; border-radius: 50%; background: var(--c-accent-soft); }
.row-item .name { font-weight: 600; color: var(--c-text); }
.row-item .grade { font-weight: 700; color: var(--c-text); }
.row-item .grade--good { color: var(--c-mint); }

/* Phone content — parent app */
.notif {
  background: var(--c-surface-2);
  border-radius: var(--r-sm);
  padding: 0.6rem 0.7rem;
  font-size: 0.72rem;
  color: var(--c-text);
  font-weight: 600;
  line-height: 1.35;
}
.notif--orange { background: var(--c-accent-tint); }
.notif--blue { background: var(--c-primary-tint); }
.notif--mint { background: var(--c-mint-soft); }
.notif time { display: block; font-size: 0.62rem; color: var(--c-text-muted); font-weight: 500; margin-top: 0.2rem; }

.phone__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0.2rem;
}
.phone__head strong { font-size: 0.85rem; color: var(--c-text); font-weight: 800; letter-spacing: -0.01em; }
.phone__head .avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--c-accent); color: #fff; display: grid; place-items: center; font-size: 0.62rem; font-weight: 700; }

/* Mobile sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: var(--s-2);
  left: var(--s-2);
  right: var(--s-2);
  z-index: 90;
  background: var(--c-text);
  color: #fff;
  border-radius: var(--r-full);
  padding: 0.85rem var(--s-2);
  display: none;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  gap: var(--s-2);
}
.sticky-cta span { font-weight: 600; font-size: 0.92rem; }
.sticky-cta a { background: var(--c-accent); color: #fff; padding: 0.55rem 1.1rem; border-radius: var(--r-full); font-weight: 700; font-size: 0.85rem; }
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 70px; } }

/* WhatsApp */
.wa-float {
  position: fixed;
  bottom: var(--s-3);
  right: var(--s-3);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  z-index: 90;
  transition: all var(--dur-med) var(--ease-bounce);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
@media (max-width: 720px) { .wa-float { bottom: 80px; width: 50px; height: 50px; } }
[dir="rtl"] .wa-float { right: auto; left: var(--s-3); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Logos */
.logos-row { display:flex; flex-wrap:wrap; gap: var(--s-5); justify-content:center; align-items:center; opacity: 0.55; }
.logos-row > div { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; color: var(--c-text); letter-spacing: -0.01em; }

/* Cities */
.cities { display:flex; flex-wrap:wrap; gap: 0.4rem; list-style:none; }
.cities li {
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  background: var(--c-surface);
  border: 1.5px solid var(--c-border);
  font-size: 0.9rem;
  color: var(--c-text-soft);
  font-weight: 600;
  transition: all var(--dur-fast) var(--ease-out);
  cursor: default;
}
.cities li:hover { border-color: var(--c-accent); color: var(--c-accent); background: var(--c-accent-tint); }
