/* ==========================================================================
   A4 Cloud — site institucional/comercial
   Paleta derivada do logo (nuvem azul) + matizes por área, como no produto.
   ========================================================================== */

:root {
  --brand-50: #eef5ff;
  --brand-100: #dceafe;
  --brand-200: #b9d5fd;
  --brand-400: #4c95f0;
  --brand-500: #1a73e8;
  --brand-600: #0b5fd6;
  --brand-700: #0a4db0;
  --brand-900: #0a2a5e;

  --ink-900: #0d1b2e;
  --ink-800: #1b2a3e;
  --ink-700: #33425a;
  --ink-600: #46546a;
  --ink-500: #5e6b80;
  --ink-400: #8391a5;
  --line: #e3e9f1;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --navy: #071830;

  /* Matizes por área da escola (as mesmas famílias de cor dos apps) */
  --m-ped: #e8590c;   /* Pedagógico */
  --m-sec: #c2255c;   /* Secretaria / Matrículas */
  --m-cap: #2b8a3e;   /* Captação */
  --m-fin: #5f3dc4;   /* Financeiro */
  --m-com: #0c8599;   /* Comunicação */
  --m-sup: #1a73e8;   /* Atendimento */

  --ok: #1e8e3e;
  --warn: #b7791f;
  --bad: #d93025;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, .06), 0 1px 1px rgba(13, 27, 46, .04);
  --shadow-md: 0 12px 32px -12px rgba(16, 42, 86, .18), 0 2px 6px rgba(16, 42, 86, .06);
  --shadow-lg: 0 48px 96px -32px rgba(16, 42, 86, .32), 0 0 0 1px rgba(16, 42, 86, .07);

  --maxw: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink-900);
  font-weight: 750;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-wrap: balance;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -48px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink-900);
  color: #fff;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.icon {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Tipografia de seção ---------- */

.section { padding-block: clamp(80px, 10vw, 136px); position: relative; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.section-head .lead {
  margin-top: 20px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-500);
  text-wrap: pretty;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px rgba(11, 95, 214, .6);
}
.btn-primary:hover { background: var(--brand-700); }

.btn-ghost {
  background: #fff;
  color: var(--ink-800);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand-200); color: var(--brand-700); }

.btn-light { background: #fff; color: var(--brand-700); }
.btn-light:hover { background: var(--brand-50); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); }

.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  color: var(--brand-600);
  text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .18s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Faixa "vinha da Simetria" ---------- */

.legacy-banner {
  background: var(--ink-900);
  color: #dfe8f5;
  font-size: 14.5px;
}
.legacy-banner .container {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding-block: 8px;
}
.legacy-banner strong { color: #fff; font-weight: 650; }
.legacy-banner a { color: #9cc4ff; font-weight: 600; white-space: nowrap; }
.legacy-banner .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4c95f0;
  box-shadow: 0 0 0 4px rgba(76, 149, 240, .25);
  flex: none;
}
.legacy-banner p { flex: 1; }
.legacy-banner button {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 0; border-radius: 8px;
  background: transparent; color: #9fb0c6;
  cursor: pointer;
}
.legacy-banner button:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  backdrop-filter: saturate(1.8) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .9); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brand-mark { width: 42px; height: auto; }
.brand-word {
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.035em;
  color: #2e3a46;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-600);
  font-size: 15.5px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: var(--ink-900); background: var(--bg-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-800);
  cursor: pointer;
}

@media (max-width: 1260px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .nav-actions { display: none; }
  .menu-btn { display: grid; }
}

/* Menu móvel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 24, 48, .45);
  animation: fade-in .2s ease;
}
.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: slide-in .25s ease;
  overflow-y: auto;
}
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-menu nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-800);
  text-decoration: none;
}
.mobile-menu nav a:hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 8px; }

@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: 0;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 980px;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 18% 12%, rgba(26, 115, 232, .16), transparent 70%),
    radial-gradient(45% 45% at 88% 8%, rgba(12, 133, 153, .12), transparent 70%),
    radial-gradient(40% 40% at 60% 60%, rgba(95, 61, 196, .08), transparent 70%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(13, 27, 46, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13, 27, 46, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
}

.hero-copy { max-width: 920px; margin-inline: auto; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-600);
  text-decoration: none;
}
.hero-badge-icon {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--m-cap);
}
.hero-badge .hero-badge-icon .icon { width: 15px; height: 15px; color: #fff; }
.hero-badge .icon { width: 16px; height: 16px; color: var(--ink-400); }
.hero-badge:hover { border-color: var(--brand-200); }

.hero h1 {
  font-size: clamp(40px, 6.6vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero h1 .serif { color: var(--brand-600); font-size: 1.08em; letter-spacing: -0.02em; }

.hero-lead {
  max-width: 700px;
  margin: 28px auto 0;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
  color: var(--ink-500);
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 520px) {
  .hero-ctas .btn { width: 100%; }
  .hero-note { font-size: 13.5px; }
}
.hero-note {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--ink-400);
}
.hero-note .icon { display: inline; width: 16px; height: 16px; vertical-align: -3px; color: var(--ok); }

.hero-stage {
  position: relative;
  max-width: 1120px;
  margin: clamp(56px, 7vw, 88px) auto 0;
}

/* ---------- Janela de navegador (moldura das telas) ---------- */

.window {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 14px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--line);
}
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d5dce6; }
.window-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
  padding: 4px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-500);
  max-width: 60%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.window-url .icon { width: 12px; height: 12px; color: var(--ok); }
.window-bar::after { content: ""; width: 47px; }
@media (max-width: 560px) {
  .window-bar { height: 30px; }
  .window-dots i { width: 8px; height: 8px; }
  .window-url { font-size: 10.5px; padding: 2px 10px; }
  .window-bar::after { width: 30px; }
}

/* Avisos flutuantes sobre a tela do hero */
.toast {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(16,42,86,.06);
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-600);
  animation: float 6s ease-in-out infinite;
}
.toast b { display: block; color: var(--ink-900); font-weight: 650; }
.toast-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  color: #fff;
  flex: none;
}
.toast-icon .icon { width: 19px; height: 19px; }
.toast-1 { left: -56px; top: 56%; }
.toast-2 { right: -48px; top: 76%; animation-delay: -2s; }
.toast-3 { left: 36%; bottom: -30px; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 1240px) {
  .toast-1 { left: -16px; }
  .toast-2 { right: -12px; }
}
@media (max-width: 860px) {
  .toast { display: none; }
}

/* ---------- Faixa de fatos ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact { padding: 28px 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-value {
  display: block;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1.15;
}
.fact-label { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--ink-500); }

@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact { border-left: 0 !important; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .fact:last-child { grid-column: 1 / -1; border-left: 0 !important; }
}
@media (max-width: 520px) {
  .fact { padding: 20px 12px; }
  .fact-value { font-size: 21px; }
  .fact-label { font-size: 13.5px; }
}

/* ---------- Módulos ---------- */

.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .modules { grid-template-columns: 1fr; } }

.module {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.module:hover {
  border-color: color-mix(in srgb, var(--c) 30%, var(--line));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.module-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.module-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 11%, #fff);
  color: var(--c);
}
.module-icon .icon { width: 24px; height: 24px; }
.module h3 { font-size: 21px; letter-spacing: -0.02em; }
.module > p { margin-top: 8px; color: var(--ink-500); font-size: 15.5px; line-height: 1.55; }
.module ul { margin-top: 18px; display: grid; gap: 8px; }
.module li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-600);
}
.module li::before {
  content: "";
  position: absolute;
  left: 2px; top: .52em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--c);
  border-bottom: 2px solid var(--c);
  transform: rotate(-45deg);
  border-radius: 1px;
}

.modules-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-500);
  font-size: 15.5px;
}
.modules-more strong { color: var(--ink-800); font-weight: 650; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-600);
}

/* ---------- Por dentro (telas) ---------- */

.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink-500);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.tab .icon { width: 18px; height: 18px; }
.tab:hover { color: var(--ink-900); }
.tab[aria-selected="true"] {
  background: color-mix(in srgb, var(--c) 10%, #fff);
  color: var(--c);
}
@media (max-width: 720px) {
  .tabs { justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); width: auto; border-radius: 0; border-inline: 0; }
}

.showcase-panel {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 48px;
  align-items: center;
}
.showcase-panel[hidden] { display: none; }
.showcase-panel.is-entering { animation: panel-in .35s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }

.showcase-copy h3 { font-size: 28px; margin-top: 4px; }
.showcase-copy > p { margin-top: 14px; color: var(--ink-500); }
.showcase-copy ul { display: grid; gap: 14px; margin-top: 24px; }
.showcase-copy li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink-600); }
.showcase-copy li .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--c); }
.showcase-copy li b { color: var(--ink-900); font-weight: 650; }
.showcase-school {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c);
}
.showcase-disclaimer { margin-top: 28px; font-size: 13px; color: var(--ink-400); }

@media (max-width: 1000px) {
  .showcase-panel { grid-template-columns: 1fr; gap: 32px; }
  .showcase-copy { max-width: 640px; }
}

/* ---------- Fluxo financeiro ---------- */

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.flow::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--m-fin), var(--brand-500), var(--m-cap));
  opacity: .35;
}
.flow-step { position: relative; text-align: center; padding: 0 6px; }
.flow-icon {
  position: relative;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  color: var(--m-fin);
}
.flow-icon .icon { width: 26px; height: 26px; }
.flow-icon::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -8px; right: -8px;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--m-fin);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.flow-step h3 { font-size: 18px; letter-spacing: -0.015em; }
.flow-step p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-500); }

@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .flow::before { top: 20px; bottom: 20px; left: 31px; right: auto; width: 2px; height: auto; background: linear-gradient(to bottom, var(--m-fin), var(--brand-500), var(--m-cap)); }
  .flow-step { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; text-align: left; padding: 0 0 28px; }
  .flow-icon { margin: 0; grid-row: span 2; }
  .flow-step h3 { align-self: end; }
}

.banks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}
.banks-label { width: 100%; text-align: center; font-size: 14px; color: var(--ink-400); margin-bottom: 6px; }
.bank {
  padding: 10px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 15px;
  color: var(--ink-700);
  letter-spacing: -0.01em;
}
.banks-note { width: 100%; text-align: center; margin-top: 10px; font-size: 15px; color: var(--ink-500); }

/* ---------- Para quem ---------- */

.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .roles { grid-template-columns: 1fr; } }

.role { padding: 32px 28px; background: #fff; }
.role-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.role-head .icon { width: 22px; height: 22px; color: var(--c); }
.role h3 { font-size: 19px; letter-spacing: -0.015em; }
.role p { font-size: 15.5px; color: var(--ink-500); line-height: 1.6; }
.role p strong { color: var(--ink-800); font-weight: 650; }

/* ---------- Suporte ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }

.checklist { display: grid; gap: 18px; margin-top: 32px; }
.checklist li { display: flex; gap: 14px; }
.checklist .check {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-600);
  flex: none;
}
.checklist .check .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.checklist b { display: block; color: var(--ink-900); font-weight: 650; }
.checklist span { font-size: 15.5px; color: var(--ink-500); }

.bela-note {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-50), #f6f3ff);
  border: 1px solid var(--brand-100);
}
.bela-avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-500), var(--m-fin));
  color: #fff;
  font-weight: 750;
  font-size: 18px;
  flex: none;
}
.bela-note p { font-size: 15px; color: var(--ink-600); line-height: 1.55; }
.bela-note b { color: var(--ink-900); }

/* Janela de chat */
.chat {
  width: min(100%, 440px);
  margin-inline: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.chat-head .avatar { width: 38px; height: 38px; font-size: 15px; }
.chat-head b { display: block; font-size: 15px; color: var(--ink-900); }
.chat-head small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ok); }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.chat-head-actions { margin-left: auto; display: flex; gap: 6px; color: var(--ink-400); }
.chat-head-actions span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-soft); }
.chat-head-actions .icon { width: 17px; height: 17px; }

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  background: linear-gradient(#fbfcfe, #f5f8fc);
  font-size: 14.5px;
  line-height: 1.5;
}
.msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; }
.msg-me { align-self: flex-end; background: var(--brand-600); color: #fff; border-bottom-right-radius: 5px; }
.msg-them { align-self: flex-start; background: #fff; color: var(--ink-700); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg-meta { display: block; margin-top: 4px; font-size: 11.5px; opacity: .7; text-align: right; }
.msg-author { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; color: var(--brand-700); }
.msg-system {
  align-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf1fb;
  color: var(--brand-700);
  font-size: 12.5px;
  font-weight: 600;
}
.msg-system .icon { width: 14px; height: 14px; }
.chat-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-400);
  font-size: 14.5px;
}
.chat-foot .fake-input { flex: 1; padding: 10px 14px; border-radius: 12px; background: var(--bg-soft); }
.chat-foot .icon { width: 19px; height: 19px; }

.avatar {
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #7aa7ff, var(--brand-600));
  color: #fff;
  font-weight: 700;
  flex: none;
}

/* ---------- Segurança (seção escura) ---------- */

.dark {
  background: var(--navy);
  color: #b8c6da;
  overflow: hidden;
  isolation: isolate;
}
.dark::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 10% 0%, rgba(26,115,232,.28), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(95,61,196,.22), transparent 70%);
}
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #7fb0ff; }
.dark .lead { color: #9fb1c9 !important; }

.security {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .security { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .security { grid-template-columns: 1fr; } }

.sec-item {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.sec-item .icon { width: 26px; height: 26px; color: #7fb0ff; margin-bottom: 18px; }
.sec-item h3 { font-size: 18.5px; letter-spacing: -0.015em; }
.sec-item p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
.sec-item.feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(26,115,232,.22), rgba(95,61,196,.14));
  border-color: rgba(127,176,255,.25);
}
.sec-item.feature .icon { margin: 0; width: 34px; height: 34px; }
.sec-item.feature h3 { font-size: 24px; }
@media (max-width: 640px) {
  .sec-item.feature { grid-column: auto; grid-template-columns: 1fr; }
}

.tenant-diagram { display: flex; gap: 10px; align-items: flex-end; }
.tenant-diagram span {
  display: grid; place-items: center;
  width: 56px; height: 64px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #cfe0ff;
}
.tenant-diagram span .icon { margin: 0; width: 24px; height: 24px; color: currentColor; }
.tenant-diagram span:nth-child(2) { height: 76px; background: rgba(26,115,232,.3); border-color: rgba(127,176,255,.5); }

/* ---------- Novidades / roadmap ---------- */

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .roadmap { grid-template-columns: 1fr; } }

.road {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.road-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.road-top .icon { width: 24px; height: 24px; color: var(--c, var(--brand-600)); }
.road h3 { font-size: 19px; letter-spacing: -0.015em; }
.road p { margin-top: 10px; font-size: 15px; color: var(--ink-500); line-height: 1.6; }
.road-area { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--brand-600)); }

/* ---------- História ---------- */

.timeline { position: relative; display: grid; gap: 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px; top: 12px; bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--line), var(--brand-200), var(--brand-500));
}
.tl { position: relative; padding: 0 0 28px 48px; }
.tl::before {
  content: "";
  position: absolute;
  left: 4px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-200);
}
.tl.now::before { border-color: var(--brand-600); box-shadow: 0 0 0 6px var(--brand-100); }
.tl-when { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600); }
.tl h3 { margin-top: 4px; font-size: 20px; letter-spacing: -0.015em; }
.tl p { margin-top: 6px; font-size: 15.5px; color: var(--ink-500); }

.rename {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.rename-names { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink-900); font-size: 17px; flex-wrap: wrap; }
.rename-names s { color: var(--ink-400); text-decoration-thickness: 1.5px; font-weight: 600; }
.rename-names .icon { width: 18px; height: 18px; color: var(--brand-500); }
.rename p { font-size: 15px; color: var(--ink-500); margin-top: 4px; }

.story-quote {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  color: var(--ink-800);
}

/* ---------- Perguntas frequentes ---------- */

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 650;
  font-size: 17px;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--ink-400); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--brand-600); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-500); font-size: 16px; }
.faq .answer p + p { margin-top: 10px; }
.faq .answer a { color: var(--brand-600); font-weight: 600; }

/* ---------- Demonstração (CTA final) ---------- */

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  background: linear-gradient(140deg, #0b5fd6 0%, #0a4db0 45%, #2a2f9e 100%);
  color: #d8e6ff;
  overflow: hidden;
  isolation: isolate;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 0% 0%, rgba(255,255,255,.18), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(12,133,153,.35), transparent 70%);
}
.cta-card h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); }
.cta-card .lead { margin-top: 18px; font-size: 18px; color: #cfe0ff; }
.cta-list { display: grid; gap: 14px; margin-top: 32px; }
.cta-list li { display: flex; gap: 12px; font-size: 16px; }
.cta-list .icon { width: 20px; height: 20px; color: #9cf0c1; margin-top: 2px; }
.cta-direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
@media (max-width: 1000px) { .cta-card { grid-template-columns: 1fr; } }

.form-card {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 20px;
  background: #fff;
  color: var(--ink-700);
  box-shadow: 0 30px 60px -20px rgba(7,24,48,.5);
}
.form-card h3 { font-size: 21px; }
.form-card > p { margin-top: 6px; font-size: 14.5px; color: var(--ink-500); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 650; color: var(--ink-700); }
.field label small { font-weight: 500; color: var(--ink-400); }
.field input, .field select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d5dde8;
  border-radius: 11px;
  background: #fff;
  font-size: 16px;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238391a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.field input::placeholder { color: #a3aebd; }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(26,115,232,.15);
}
.field.has-error input, .field.has-error select { border-color: var(--bad); }
.field .error { display: none; margin-top: 6px; font-size: 13px; color: var(--bad); }
.field.has-error .error { display: block; }
.form-card .btn { margin-top: 20px; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--ink-400); text-align: center; }

.form-done { text-align: center; padding: 24px 8px; }
.form-done .done-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: #e6f4ea;
  color: var(--ok);
}
.form-done .done-icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.form-done p { margin-top: 10px; color: var(--ink-500); }

/* ---------- Rodapé ---------- */

.site-footer {
  padding: 72px 0 36px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand p { margin-top: 16px; max-width: 340px; color: var(--ink-500); }
.footer-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); font-weight: 700; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-600);
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  text-align: left;
}
.footer-col a:hover, .footer-col button:hover { color: var(--brand-600); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-400);
  font-size: 13.5px;
}

/* ---------- Diálogo "Acessar minha escola" ---------- */

.access {
  width: min(480px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--ink-700);
}
.access::backdrop { background: rgba(7, 24, 48, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.access[open] { animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.access-inner { position: relative; padding: 32px; }
.access-close {
  position: absolute;
  top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 0; border-radius: 10px;
  background: transparent;
  color: var(--ink-400);
  cursor: pointer;
}
.access-close:hover { background: var(--bg-soft); color: var(--ink-800); }
.access-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.access-icon .icon { width: 24px; height: 24px; }
.access h2 { font-size: 24px; letter-spacing: -0.02em; }
.access-inner > p { margin-top: 8px; font-size: 15.5px; color: var(--ink-500); }
.addr {
  display: flex;
  align-items: center;
  margin-top: 22px;
  border: 1px solid #d5dde8;
  border-radius: 13px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.addr:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(26,115,232,.15); }
.addr.has-error { border-color: var(--bad); }
.addr input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 4px 0 16px;
  border: 0;
  outline: none;
  font-size: 17px;
  font-weight: 600;
  text-align: right;
  color: var(--ink-900);
}
.addr input::placeholder { color: #a3aebd; font-weight: 500; }
.addr .suffix { padding-right: 16px; font-size: 17px; color: var(--ink-400); white-space: nowrap; }
@media (max-width: 420px) { .addr input, .addr .suffix { font-size: 15px; } }
.access-error { margin-top: 8px; font-size: 13.5px; color: var(--bad); }
.access .btn { margin-top: 16px; }
.access-recent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 14px;
  color: var(--ink-500);
}
.access-recent a { font-weight: 650; color: var(--brand-600); text-decoration: none; overflow-wrap: anywhere; }
.access-help { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-500); }

/* ---------- Botão flutuante de WhatsApp ---------- */

.float-contact {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: #1e8e3e;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(30,142,62,.6);
}
.float-contact .icon { width: 22px; height: 22px; }
.float-contact:hover { background: #17742f; }

/* ---------- Aparição ao rolar ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Telas de exemplo (mockups do produto)
   Tudo em "em" sobre 1.32cqw: a tela escala por inteiro com a largura
   do contêiner, sem imagem e sem JavaScript.
   ========================================================================== */

.app { container-type: inline-size; }
.ui {
  --m: var(--brand-500);
  --ui-line: #e6ebf2;
  --ui-mute: #7a8594;
  display: grid;
  grid-template-columns: 14.5em 1fr;
  min-height: 40em;
  font-size: 1.32cqw;
  line-height: 1.4;
  color: #1f2a37;
  background: #f6f8fb;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}
.ui svg.i {
  width: 1.2em; height: 1.2em;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* Todas as telas da vitrine com a mesma altura: trocar de aba não pula. */
.showcase-panel .ui { min-height: 49em; }

/* Barra lateral */
.ui-side {
  display: flex;
  flex-direction: column;
  gap: .3em;
  padding: 1.2em .9em;
  background: #fff;
  border-right: 1px solid var(--ui-line);
}
.ui-appname {
  display: flex; align-items: center; gap: .7em;
  padding: 0 .4em 1.1em;
  font-weight: 750; font-size: 1.05em; letter-spacing: -0.01em;
}
.ui-appname span {
  display: grid; place-items: center;
  width: 2.1em; height: 2.1em;
  border-radius: .6em;
  background: var(--m);
  color: #fff;
}
.ui-appname span svg.i { width: 1.1em; height: 1.1em; }
.ui-nav { display: grid; gap: .15em; }
.ui-nav span {
  display: flex; align-items: center; gap: .75em;
  padding: .6em .7em;
  border-radius: .6em;
  color: #4a5565;
  font-size: .95em;
  font-weight: 550;
}
.ui-nav span svg.i { color: #98a2b0; }
.ui-nav span.on { background: color-mix(in srgb, var(--m) 10%, #fff); color: var(--m); font-weight: 700; }
.ui-nav span.on svg.i { color: var(--m); }
.ui-nav .badge { margin-left: auto; padding: .05em .55em; border-radius: 99em; background: var(--m); color: #fff; font-size: .78em; font-weight: 700; }
.ui-side-foot { margin-top: auto; padding: .9em .7em 0; border-top: 1px solid var(--ui-line); font-size: .82em; color: var(--ui-mute); }
.ui-side-foot b { display: block; color: #1f2a37; font-size: 1.08em; }

/* Corpo */
.ui-body { display: flex; flex-direction: column; min-width: 0; }
.ui-top {
  display: flex; align-items: center; gap: 1em;
  height: 3.6em;
  padding: 0 1.6em;
  background: #fff;
  border-bottom: 1px solid var(--ui-line);
}
.ui-crumb { font-size: .95em; color: var(--ui-mute); }
.ui-crumb b { color: #1f2a37; font-weight: 700; }
.ui-top-r { margin-left: auto; display: flex; align-items: center; gap: .6em; }
.ui-pill {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .35em .8em;
  border: 1px solid var(--ui-line);
  border-radius: .6em;
  font-size: .85em; font-weight: 600; color: #3b4656;
  background: #fff;
}
.ui-pill svg.i { width: 1.05em; height: 1.05em; color: var(--ui-mute); }
.ui-avatar {
  display: grid; place-items: center;
  width: 2.2em; height: 2.2em;
  border-radius: 50%;
  background: linear-gradient(135deg, #7aa7ff, #0b5fd6);
  color: #fff; font-size: .8em; font-weight: 700;
}
.ui-main { flex: 1; padding: 1.5em 1.6em; display: flex; flex-direction: column; gap: 1.1em; min-width: 0; }

.ui-h { display: flex; align-items: center; gap: 1em; }
.ui-h h4 { font-size: 1.45em; font-weight: 750; letter-spacing: -0.02em; color: #111b29; }
.ui-h p { font-size: .9em; color: var(--ui-mute); margin-top: .15em; }
.ui-h .ui-h-r { margin-left: auto; display: flex; gap: .6em; }

.ui-btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .6em 1em;
  border-radius: .6em;
  font-size: .88em; font-weight: 700;
  background: var(--m); color: #fff;
  white-space: nowrap;
}
.ui-btn.ghost { background: #fff; color: #3b4656; border: 1px solid var(--ui-line); }
.ui-btn svg.i { width: 1.1em; height: 1.1em; }

.ui-card { background: #fff; border: 1px solid var(--ui-line); border-radius: .85em; padding: 1.1em 1.2em; min-width: 0; }
.ui-card-h { display: flex; align-items: center; justify-content: space-between; gap: .8em; margin-bottom: .9em; }
.ui-card-h b { font-size: 1em; font-weight: 700; color: #111b29; }
.ui-card-h small { font-size: .82em; color: var(--ui-mute); }

.ui-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; }
.ui-kpis.five { grid-template-columns: repeat(5, 1fr); }
.kpi-label { font-size: .82em; color: var(--ui-mute); font-weight: 600; }
.kpi-value { margin-top: .3em; font-size: 1.75em; font-weight: 750; letter-spacing: -0.03em; color: #111b29; line-height: 1.1; }
.kpi-sub { margin-top: .45em; font-size: .8em; color: var(--ui-mute); display: flex; align-items: center; gap: .35em; }
.up { color: #1e8e3e; font-weight: 700; }
.down-good { color: #1e8e3e; font-weight: 700; }
.bar { position: relative; height: .5em; margin-top: .7em; border-radius: 99em; background: #edf1f6; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--m); }
.bar .goal { position: absolute; top: -.25em; bottom: -.25em; width: 2px; background: #111b29; border-radius: 2px; }

.ui-grid-2 { display: grid; grid-template-columns: 1.65fr 1fr; gap: 1em; flex: 1; }
.ui-grid-side { display: grid; grid-template-columns: 1fr 17em; gap: 1em; flex: 1; min-width: 0; }

.today { display: grid; gap: .1em; }
.today li { display: flex; align-items: center; gap: .8em; padding: .7em .2em; border-bottom: 1px solid #f0f3f7; font-size: .92em; }
.today li:last-child { border-bottom: 0; }
.today .dot { width: .65em; height: .65em; border-radius: 50%; flex: none; }
.today b { font-weight: 700; color: #111b29; }
.today small { margin-left: auto; color: var(--ui-mute); font-size: .85em; white-space: nowrap; }

.chart-legend { display: flex; gap: 1.2em; font-size: .8em; color: var(--ui-mute); }
.chart-legend span { display: inline-flex; align-items: center; gap: .4em; }
.chart-legend i { width: 1.4em; height: .25em; border-radius: 1em; background: var(--m); }
.chart-legend i.dash { background: repeating-linear-gradient(to right, #9aa6b6 0 .35em, transparent .35em .6em); }
.ui-chart { width: 100%; height: auto; }

/* Chips de situação */
.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .22em .7em;
  border-radius: 99em;
  font-size: .8em; font-weight: 700;
  white-space: nowrap;
}
.chip::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.chip.nodot::before { display: none; }
.chip.ok { background: #e6f4ea; color: #146c2e; }
.chip.warn { background: #fdf1dc; color: #8a5300; }
.chip.bad { background: #fde8e7; color: #b3261e; }
.chip.info { background: #e8f0fe; color: #174ea6; }
.chip.mute { background: #eef1f5; color: #5b6676; }
.chip.m { background: color-mix(in srgb, var(--m) 12%, #fff); color: var(--m); }

/* Abas e filtros internos */
.ui-tabs { display: flex; gap: 1.6em; border-bottom: 1px solid var(--ui-line); font-size: .92em; font-weight: 650; color: var(--ui-mute); }
.ui-tabs span { padding: 0 0 .7em; }
.ui-tabs span.on { color: var(--m); box-shadow: inset 0 -2px 0 var(--m); }
.ui-filters { display: flex; gap: .6em; align-items: center; }
.ui-search {
  display: inline-flex; align-items: center; gap: .5em;
  margin-left: auto;
  width: 17em;
  white-space: nowrap; overflow: hidden;
  padding: .45em .8em;
  border: 1px solid var(--ui-line); border-radius: .6em;
  background: #fff; color: #9aa6b6; font-size: .85em;
}

.status-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; }
.status-card { position: relative; padding: .9em 1em; border-radius: .8em; background: #fff; border: 1px solid var(--ui-line); overflow: hidden; }
.status-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .28em; background: var(--sc); }
.status-card.on { border-color: color-mix(in srgb, var(--sc) 45%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--sc) 30%, transparent); }
.status-card .kpi-value { font-size: 1.45em; }

/* Tabela */
.ui-table { width: 100%; border-collapse: collapse; font-size: .9em; }
.ui-table th {
  padding: .65em .8em;
  border-bottom: 1px solid var(--ui-line);
  font-size: .8em; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ui-mute); text-align: left; white-space: nowrap;
}
.ui-table td { padding: .72em .8em; border-bottom: 1px solid #f0f3f7; white-space: nowrap; }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ui-table .c { text-align: center; }
.ui-table td b { font-weight: 650; color: #111b29; }
.ui-table td small { display: block; color: var(--ui-mute); font-size: .88em; }
.ui-table .check { width: 1.1em; height: 1.1em; border: 1.5px solid #c3ccd8; border-radius: .3em; display: inline-block; vertical-align: middle; }
.ui-table .check.on { background: var(--m); border-color: var(--m); box-shadow: inset 0 0 0 2px #fff; }
.ui-table tr.sel td { background: color-mix(in srgb, var(--m) 5%, #fff); }

.ui-actionbar {
  display: flex; align-items: center; gap: .8em;
  padding: .8em 1em;
  border-radius: .8em;
  background: #111b29; color: #d7deea;
  font-size: .9em;
}
.ui-actionbar b { color: #fff; }
.ui-actionbar .ui-btn { margin-left: auto; }
.ui-actionbar .ui-btn + .ui-btn { margin-left: 0; }
.ui-actionbar .ui-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* Kanban (Captação) */
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; min-width: 0; }
.kcol { display: flex; flex-direction: column; gap: .6em; padding: .8em; border-radius: .8em; background: #eef2f7; min-width: 0; }
.kcol-h { display: flex; align-items: center; gap: .5em; font-size: .88em; font-weight: 700; color: #3b4656; padding: 0 .2em .2em; }
.kcol-h span { margin-left: auto; color: var(--ui-mute); font-weight: 600; }
.kcol-h i { width: .6em; height: .6em; border-radius: 50%; background: var(--k); }
.kcard { padding: .8em .9em; border-radius: .7em; background: #fff; border: 1px solid var(--ui-line); box-shadow: 0 1px 2px rgba(16,42,86,.05); }
.kcard b { display: block; font-size: .95em; color: #111b29; }
.kcard p { margin-top: .15em; font-size: .85em; color: #5b6676; }
.kcard-foot { display: flex; align-items: center; justify-content: space-between; gap: .5em; margin-top: .7em; font-size: .78em; color: var(--ui-mute); }
.kcard.hot { border-color: color-mix(in srgb, var(--m) 40%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--m) 20%, transparent), 0 6px 16px -8px rgba(16,42,86,.25); }

.seats { display: grid; gap: .85em; }
.seat-row { font-size: .85em; }
.seat-row div { display: flex; justify-content: space-between; margin-bottom: .35em; }
.seat-row b { font-weight: 650; color: #111b29; }
.seat-row span { color: var(--ui-mute); font-variant-numeric: tabular-nums; }
.seat-row .bar { margin-top: 0; height: .55em; }

/* Rematrícula */
.ring-wrap { display: flex; align-items: center; gap: 1.2em; }
.ring { position: relative; width: 7.4em; height: 7.4em; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.7em; font-weight: 750; letter-spacing: -0.03em; color: #111b29; }
.seg { display: grid; gap: .7em; margin-top: 1.1em; }

/* Notas */
.formula {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .45em .8em;
  border-radius: .6em;
  background: color-mix(in srgb, var(--m) 8%, #fff);
  border: 1px dashed color-mix(in srgb, var(--m) 40%, #fff);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .82em; color: #7a3a09;
}
.cell {
  display: inline-block;
  min-width: 3.4em;
  padding: .3em .5em;
  border-radius: .45em;
  border: 1px solid transparent;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cell.edit { border-color: var(--m); box-shadow: 0 0 0 .2em color-mix(in srgb, var(--m) 18%, transparent); background: #fff; font-weight: 700; }
.cell.edit::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -.15em; background: #111b29; animation: blink 1s steps(2) infinite; }
.cell.low { background: #fdf1dc; color: #8a5300; font-weight: 700; }
.cell.avg { font-weight: 750; color: #111b29; }
@keyframes blink { 50% { opacity: 0; } }

/* Documento */
.doc-toolbar { display: flex; align-items: center; gap: .5em; padding: .5em .6em; border: 1px solid var(--ui-line); border-radius: .7em; background: #fff; font-size: .85em; }
.doc-toolbar .tb { display: grid; place-items: center; min-width: 2em; height: 2em; padding: 0 .45em; border-radius: .45em; color: #3b4656; font-weight: 750; white-space: nowrap; }
.doc-toolbar .sep { width: 1px; height: 1.4em; background: var(--ui-line); margin: 0 .2em; }
.doc-toolbar .ui-pill { margin-left: auto; }
.paper {
  padding: 2em 2.4em;
  border-radius: .5em;
  background: #fff;
  border: 1px solid var(--ui-line);
  box-shadow: 0 10px 30px -18px rgba(16,42,86,.3);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .88em;
  line-height: 1.75;
  color: #2b3542;
}
.paper { flex: 1; }
.sign-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2em; margin-top: 2.2em; font-family: var(--font-sans); font-size: .82em; text-align: center; color: #3b4656; font-weight: 650; }
.sign i { display: block; height: 1px; margin: .5em 0 .6em; background: #9aa6b6; }
.stamp { display: inline-block; padding: .2em .7em; border-radius: .4em; border: 1px solid color-mix(in srgb, var(--m) 45%, #fff); color: var(--m); font-size: .85em; font-weight: 700; transform: rotate(-2deg); }
.paper h5 { font-family: var(--font-sans); font-size: 1em; font-weight: 800; letter-spacing: .03em; text-align: center; color: #111b29; margin: 0 0 1.2em; }
.paper p + p { margin-top: .9em; }
.var {
  display: inline-block;
  padding: 0 .45em;
  border-radius: .35em;
  background: color-mix(in srgb, var(--m) 12%, #fff);
  color: color-mix(in srgb, var(--m) 80%, #000);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  line-height: 1.6;
  white-space: nowrap;
}
.funnel { display: grid; gap: .8em; }
.funnel-row { font-size: .86em; }
.funnel-row div { display: flex; justify-content: space-between; margin-bottom: .35em; }
.funnel-row span { color: var(--ui-mute); }
.funnel-row b { color: #111b29; font-variant-numeric: tabular-nums; }
.funnel-row .bar { margin-top: 0; height: .7em; border-radius: .3em; }

/* Em telas estreitas a barra lateral sai e o resto cresce na mesma
   proporção (100 / 80,9 da largura útil), mantendo o desenho igual. */
@container (max-width: 560px) {
  .ui { grid-template-columns: 1fr; font-size: 1.62cqw; }
  .ui-side { display: none; }
}

/* ==========================================================================
   Documentos legais (termos, privacidade, exclusão de dados)
   ========================================================================== */

.legal-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.legal-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ink-600);
  font-size: 15px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.legal-nav a:hover { color: var(--ink-900); background: var(--bg-soft); }
.legal-nav a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }
@media (max-width: 900px) { .legal-nav .hide-sm { display: none; } }
@media (max-width: 560px) { .legal-nav a { padding: 8px; font-size: 14px; } }

.legal-hero {
  position: relative;
  padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 4vw, 48px);
  background:
    radial-gradient(50% 80% at 10% 0%, rgba(26, 115, 232, .10), transparent 70%),
    radial-gradient(40% 70% at 95% 0%, rgba(12, 133, 153, .08), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.035em; }
.legal-meta { margin-top: 16px; color: var(--ink-500); font-size: 15.5px; }
.legal-meta b { color: var(--ink-800); font-weight: 650; }

.legal-summary {
  margin-top: 32px;
  max-width: 860px;
  padding: 24px 28px;
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.legal-summary h2 { font-size: 18px; letter-spacing: -0.01em; }
.legal-summary ul { display: grid; gap: 10px; margin-top: 14px; }
.legal-summary li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-600); }
.legal-summary li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--brand-600); }

.legal-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(40px, 6vw, 72px) clamp(72px, 9vw, 120px);
}
@media (max-width: 1000px) { .legal-grid { grid-template-columns: 1fr; } }

.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.legal-toc summary, .legal-toc > b {
  display: block;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.legal-toc summary { cursor: pointer; list-style: none; }
.legal-toc summary .icon { display: none; }
.legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal-toc a {
  display: block;
  margin-left: -2px;
  padding: 6px 0 6px 14px;
  border-left: 2px solid transparent;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink-500);
  text-decoration: none;
}
.legal-toc a:hover { color: var(--brand-700); border-left-color: var(--brand-400); }
.legal-docs { display: grid; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.legal-docs a { color: var(--brand-600); font-weight: 600; text-decoration: none; }
@media (max-width: 1000px) {
  .legal-toc { position: static; max-height: none; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); }
  .legal-toc summary { margin: 0; display: flex; justify-content: space-between; align-items: center; }
  .legal-toc summary .icon { display: block; }
  .legal-toc details[open] summary { margin-bottom: 12px; }
}

.legal-body { max-width: 760px; font-size: 16.5px; line-height: 1.75; color: var(--ink-600); }
.legal-body section + section { margin-top: 52px; }
.legal-body h2 {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: clamp(22px, 2.4vw, 27px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal-body h2 .n { color: var(--brand-600); font-variant-numeric: tabular-nums; }
.legal-body h3 { margin-top: 28px; font-size: 18px; letter-spacing: -0.01em; line-height: 1.35; }
.legal-body p { margin-top: 14px; }
.legal-body ul { display: grid; gap: 8px; margin-top: 14px; }
.legal-body ul li { position: relative; padding-left: 22px; }
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: .72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-400);
}
.legal-body strong { color: var(--ink-900); font-weight: 650; }
.legal-body a { color: var(--brand-600); font-weight: 600; }
.legal-body .note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 15.5px;
}
.legal-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-table th {
  padding: 10px 12px;
  border-bottom: 2px solid var(--line);
  text-align: left;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.legal-table td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.legal-table td:first-child { width: 36%; font-weight: 650; color: var(--ink-800); }
.legal-table td:last-child:not(:nth-child(2)) { width: 17%; }
@media (max-width: 640px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .legal-table td { padding: 2px 0; border: 0; white-space: normal !important; }
}
.contact-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
}
.contact-card b { color: var(--ink-900); }
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 14px;
}
mark.todo { padding: 0 4px; border-radius: 4px; background: #fff1c2; color: #7a4d00; }

/* ==========================================================================
   Portais (família, professor, coordenação) — celulares em "em" sobre cqw
   ========================================================================== */

:root { --m-coo: #5f7d1e; }
.section-tint {
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(12, 133, 153, .08), transparent 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(232, 89, 12, .07), transparent 70%),
    linear-gradient(180deg, #f3f7fd, #f7f9fc);
}
.portals { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (max-width: 1000px) { .portals { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 64px; } }
.portal h3 { font-size: 23px; letter-spacing: -0.02em; margin-top: 4px; }
.portal > p { margin-top: 10px; color: var(--ink-500); font-size: 15.5px; line-height: 1.6; }
.portal ul { display: grid; gap: 8px; margin-top: 16px; }
.portal li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: var(--ink-600); }
.portal li::before {
  content: ""; position: absolute; left: 2px; top: .52em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--p); border-bottom: 2px solid var(--p);
  transform: rotate(-45deg);
}
.portal-who { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--p); }

.phone {
  width: min(100%, 290px);
  aspect-ratio: 290 / 600;
  margin: 0 auto 32px;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #26364d, #0d1b2e);
  box-shadow: 0 40px 70px -30px rgba(16, 42, 86, .45), 0 0 0 1px rgba(16, 42, 86, .1), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone-screen {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  background: #f6f8fb;
  -webkit-user-select: none; user-select: none;
}
.phone-screen svg.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ph { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .55em; padding: 0 1.05em; font-size: 4.5cqw; line-height: 1.35; color: #1f2a37; }
.ph-status { position: relative; display: flex; align-items: center; height: 2.6em; font-size: .9em; font-weight: 700; padding: 0 .9em; }
.ph-status i { position: absolute; left: 50%; top: .6em; width: 5.6em; height: 1.55em; margin-left: -2.8em; border-radius: 1em; background: #0d1b2e; }
.ph-top { display: flex; align-items: center; gap: .6em; padding-bottom: .2em; }
.ph-top b { font-size: 1.12em; font-weight: 750; letter-spacing: -0.01em; }
.ph-logo { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: .6em; background: var(--p); color: #fff; font-size: .82em; font-weight: 800; }
.ph-avatar { margin-left: auto; display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: #dfe7f2; color: #33425a; font-size: .78em; font-weight: 700; }
.ph-date { margin-left: auto; font-size: .82em; color: #7a8594; font-weight: 600; }
.ph-hello { font-size: 1.45em; font-weight: 750; letter-spacing: -0.02em; margin-top: .2em; }
.ph-chip { display: inline-flex; align-self: flex-start; align-items: center; gap: .3em; padding: .3em .75em; border-radius: 99em; background: color-mix(in srgb, var(--p) 12%, #fff); color: var(--p); font-size: .85em; font-weight: 700; }
.ph-chip svg.i { width: 1em; height: 1em; }
.ph-sec { display: flex; align-items: center; gap: .45em; margin-top: .55em; font-size: .75em; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: #7a8594; }
.ph-sec em { font-style: normal; display: grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .4em; border-radius: 99em; background: var(--p); color: #fff; letter-spacing: 0; }
.ph-card, .ph-row { display: flex; align-items: center; gap: .65em; padding: .7em .75em; border-radius: .9em; background: #fff; border: 1px solid #e6ebf2; }
.ph-card > div, .ph-row > div { flex: 1; min-width: 0; }
.ph-card b, .ph-row b { display: block; font-size: .92em; font-weight: 700; color: #111b29; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-card p, .ph-row p { font-size: .78em; color: #6b7686; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-row svg.i { color: #a3aebd; width: 1.1em; height: 1.1em; }
.ph-ic { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: .65em; background: color-mix(in srgb, var(--p) 11%, #fff); color: var(--p); flex: none; }
.ph-ic svg.i { width: 1.1em; height: 1.1em; }
.ph-btn { display: inline-flex; align-items: center; gap: .35em; padding: .45em .8em; border-radius: .6em; background: var(--p); color: #fff; font-size: .78em; font-weight: 750; white-space: nowrap; flex: none; }
.ph-btn.ghost { background: #fff; color: var(--p); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p) 35%, #fff); }
.ph-btn svg.i { width: 1.05em; height: 1.05em; }
.ph-pill { padding: .2em .6em; border-radius: 99em; background: #eef1f5; color: #4a5565; font-size: .72em; font-weight: 750; flex: none; }
.ph-pill.warn { background: #fdf1dc; color: #8a5300; }
.ph-hero { display: flex; flex-direction: column; gap: .3em; padding: .9em; border-radius: 1em; background: linear-gradient(150deg, var(--p), color-mix(in srgb, var(--p) 70%, #3b1d00)); color: #fff; margin-top: .2em; }
.ph-hero b { font-size: 1.15em; font-weight: 750; letter-spacing: -0.01em; }
.ph-hero p { font-size: .82em; opacity: .9; }
.ph-tag { align-self: flex-start; padding: .15em .6em; border-radius: 99em; background: rgba(255,255,255,.2); font-size: .72em; font-weight: 750; }
.ph-roll { display: flex; gap: .4em; margin-top: .25em; font-size: .78em; font-weight: 700; }
.ph-roll span { padding: .2em .6em; border-radius: .5em; background: rgba(255,255,255,.16); }
.ph-roll .out { background: #fff; color: #9a3c06; }
.ph-actions { display: flex; justify-content: flex-end; gap: .45em; margin-top: .45em; }
.ph-hero .ph-btn { background: #fff; color: var(--p); }
.ph-hero .ph-btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.ph-tabs { display: flex; justify-content: space-around; padding: .65em .5em 1.15em; background: #fff; border-top: 1px solid #e6ebf2; font-size: 3.7cqw; }
.ph-tabs span { display: flex; flex-direction: column; align-items: center; gap: .25em; color: #98a2b0; font-weight: 650; font-size: .85em; }
.ph-tabs span.on { color: var(--p); }
.ph-tabs svg.i { width: 1.5em; height: 1.5em; }
.module > p .link-arrow { font-size: 15px; }
