/* ============================================================
   Z7 ACADEMY — Landing Page · EDITORIAL LIGHT SYSTEM
   Warm ivory · UNIVC emerald · editorial serif display.
   Material: paper grain, hairline rules, soft warm shadows.
   ============================================================ */

:root {
  /* Paper bases — warm ivory */
  --bg: #f4efe5;
  --paper: #fbf8f1;
  --paper-2: #ffffff;
  --alt: #ece4d6;
  --ink-deep: #14241c;       /* heraldic deep green-black */

  --outline: rgba(28, 26, 23, 0.10);
  --outline-strong: rgba(28, 26, 23, 0.18);
  --rule: rgba(28, 26, 23, 0.12);

  /* Text — warm ink */
  --on: #1c1a16;
  --on-var: rgba(28, 26, 22, 0.66);
  --on-subtle: rgba(28, 26, 22, 0.44);

  /* Accent — UNIVC emerald / forest green */
  --green: #1d6b47;
  --green-deep: #0f4d31;
  --green-bright: #2a8a5d;
  --green-tint: rgba(29, 107, 71, 0.08);

  /* heraldic gold (micro details only) */
  --gold: #b0892f;
  --gold-bright: #d8b87e;

  /* Trilhas / entidades — earthy editorial */
  --t-software: #1d6b47;   /* Software & IA — green */
  --t-realidade: #b06a3a;  /* Realidade Digital — clay */
  --t-infra: #7a5285;      /* Infra & Operações — plum */
  --ztech: #157a6e;
  --univc-node: #15543a;
  --alunos: #bd8b2c;
  --empresas: #5a7d3a;

  --univc-green: #032915;
  --univc-light: #1d6b47;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --maxw: 1200px;

  --shadow-card: 0 1px 2px rgba(40, 30, 15, 0.04), 0 18px 44px -26px rgba(40, 30, 15, 0.30);
  --shadow-soft: 0 28px 70px -32px rgba(40, 30, 15, 0.40);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: var(--font);
  color: var(--on);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 80% at 50% -5%, #faf6ee 0%, #f4efe5 44%, #ece4d6 100%);
  background-attachment: fixed;
}

/* Paper grain — subtle tactile texture */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(29, 107, 71, 0.18); color: var(--green-deep); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: 140px 0; overflow: clip; }
.section--tight { padding: 104px 0; }
.alt { background: linear-gradient(180deg, #efe7d9, #ece4d6); border-top: 1px solid rgba(28,26,23,0.06); border-bottom: 1px solid rgba(28,26,23,0.06); }
.surf { background: var(--paper); }

@media (max-width: 768px) {
  .section { padding: 88px 0; }
  html { scroll-padding-top: 74px; }
  .container { padding: 0 20px; }
}

/* ---------- Ambient — faint earthy glows ---------- */
.ambient {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  filter: blur(170px); pointer-events: none; z-index: 0; opacity: 0.5;
}
.ambient.blue { background: rgba(29, 107, 71, 0.06); }
.ambient.indigo { background: rgba(122, 82, 133, 0.05); }
.ambient.violet { background: rgba(176, 106, 58, 0.05); }
.ambient.teal { background: rgba(21, 122, 110, 0.05); }
.ambient.gold { background: rgba(176, 137, 47, 0.05); }

.section > .container { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.eyebrow .num {
  font-family: var(--font);
  color: var(--green); font-weight: 600; font-size: 12.5px; letter-spacing: 0.12em;
  font-feature-settings: 'tnum';
}
.eyebrow .line { width: 44px; height: 1px; background: linear-gradient(90deg, var(--green), transparent); }
.eyebrow .label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--on-subtle); font-weight: 600;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; }

.h2 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  letter-spacing: -0.012em; font-weight: 500;
  text-wrap: balance; line-height: 1.06;
}
.lead {
  font-family: var(--font);
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  color: var(--on-var); max-width: 660px; line-height: 1.74;
  margin-top: 24px; font-weight: 400;
}

/* Highlight word — emerald serif italic */
.grad {
  font-family: var(--display); font-style: italic; font-weight: 500;
  color: var(--green);
  -webkit-text-fill-color: var(--green);
  padding-right: 0.04em;
}

.section-head { max-width: 760px; margin-bottom: 72px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 600; font-size: 0.94rem; letter-spacing: -0.01em;
  padding: 15px 28px; border-radius: 8px; border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, border-color .25s, color .25s;
  white-space: nowrap; position: relative;
}
.btn .material-symbols-outlined { font-size: 20px; }
.btn-primary {
  background: var(--green); color: #fbf8f1;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 12px 28px -12px rgba(15, 77, 49, 0.6);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 18px 38px -14px rgba(15, 77, 49, 0.7); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: transparent; border-color: var(--outline-strong); color: var(--on);
}
.btn-ghost:hover { background: rgba(29,107,71,0.05); border-color: var(--green); color: var(--green-deep); }
.btn-sm { padding: 11px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Paper card ---------- */
.glass {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--outline);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(248, 244, 236, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--outline);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--green); color: #fbf8f1;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: -0.02em;
  box-shadow: 0 4px 12px -4px rgba(15,77,49,0.5);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand-text span { font-size: 9px; color: var(--on-subtle); letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a.lnk { font-size: 0.9rem; color: var(--on-var); font-weight: 500; transition: color .2s; }
.nav-links a.lnk:hover { color: var(--green-deep); }
.nav-seal {
  display: flex; align-items: center; gap: 7px;
  font-size: 9px; color: var(--on-subtle); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding-right: 10px; border-right: 1px solid var(--outline); margin-right: 2px;
}
.nav-seal .material-symbols-outlined { font-size: 16px; color: var(--green); }

.nav-toggle { display: none; background: none; border: none; color: var(--on); width: 40px; height: 40px; border-radius: 9px; }
.nav-toggle .material-symbols-outlined { font-size: 26px; }

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250, 246, 238, 0.98); backdrop-filter: blur(20px);
    padding: 22px 24px 30px; gap: 20px; border-bottom: 1px solid var(--outline);
  }
  .nav.menu-open .nav-seal { border-right: none; }
  .nav.menu-open .btn { width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 200px 0 124px; position: relative; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(56% 48% at 50% 2%, rgba(29,107,71,0.06), transparent 70%),
    linear-gradient(rgba(28, 26, 23, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 26, 23, 0.035) 1px, transparent 1px);
  background-size: auto, 62px 62px, 62px 62px;
  mask-image: radial-gradient(ellipse 78% 60% at 50% 28%, #000 26%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 78% 60% at 50% 28%, #000 26%, transparent 76%);
}
.hero-inner { position: relative; z-index: 1; max-width: 920px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 11px; border-radius: 100px;
  background: var(--paper-2); border: 1px solid var(--outline);
  font-size: 12px; font-weight: 500; color: var(--on-var);
  margin-bottom: 32px; box-shadow: var(--shadow-card);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(29,107,71,0.5); animation: pulse 2.6s infinite; }
.hero-badge b { color: var(--on); font-weight: 600; }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  letter-spacing: -0.018em; line-height: 1.0; font-weight: 500;
  text-wrap: balance;
}
.hero-sub {
  font-family: var(--font);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--on-var); line-height: 1.66;
  margin-top: 30px; max-width: 640px; font-weight: 400;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }

.hero-seal {
  display: flex; align-items: center; gap: 18px;
  margin-top: 58px; padding-top: 32px; border-top: 1px solid var(--rule); max-width: 600px;
}
.hero-seal-logo { flex-shrink: 0; }
.hero-seal-text { font-size: 0.83rem; color: var(--on-subtle); line-height: 1.55; }
.hero-seal-text b { color: var(--on-var); font-weight: 600; }
.hero-seal-text .accent { color: var(--green); font-weight: 600; }

@media (max-width: 768px) {
  .hero { padding: 144px 0 84px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- UNIVC brasão ---------- */
.univc-crest { display: block; }
.univc-crest .shield { fill: none; stroke: var(--green); stroke-width: 2.2; }
.univc-crest .star { fill: var(--gold); }
.univc-crest .flame { fill: var(--green); opacity: 0.95; }

/* ============================================================
   ECOSYSTEM DIAGRAM
   ============================================================ */
.diagram-wrap { position: relative; margin-top: 24px; }
.diagram { position: relative; width: 100%; aspect-ratio: 1000 / 660; max-width: 1040px; margin: 0 auto; }
.diagram-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.flow-line { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.flow-line.dash { stroke-dasharray: 6 10; animation: flow 2.4s linear infinite; opacity: 0.9; }
.flow-glow { fill: none; stroke-width: 6; opacity: 0.12; filter: blur(5px); }

.conn-label {
  position: absolute; z-index: 3; transform: translate(-50%, -50%);
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 100px; white-space: nowrap;
  background: var(--paper-2); border: 1px solid var(--outline); color: var(--on-var);
  pointer-events: none; box-shadow: var(--shadow-card);
}

.grp-box {
  position: absolute; z-index: 0;
  border: 1px dashed rgba(29, 107, 71, 0.32); border-radius: 24px;
  background: rgba(29, 107, 71, 0.035);
}
.grp-label {
  position: absolute; top: -12px; left: 28px; z-index: 4;
  display: flex; align-items: center; gap: 9px;
  padding: 5px 15px; border-radius: 100px;
  background: var(--bg); border: 1px solid rgba(29, 107, 71, 0.35);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--green-deep);
}
.grp-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(29,107,71,0.5); animation: pulse 2.2s infinite; }

.node {
  position: absolute; z-index: 2; transform: translate(-50%, -50%);
  background: var(--paper-2); border: 1px solid var(--outline);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, opacity .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 9px;
}
.node-head { display: flex; align-items: center; gap: 11px; }
.node-ico { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; }
.node-ico .material-symbols-outlined { font-size: 22px; }
.node-name { font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.node-sub { font-size: 0.62rem; color: var(--on-subtle); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 2px; }
.node-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.node-chip {
  font-size: 9px; font-weight: 600; letter-spacing: 0.03em;
  padding: 2px 7px; border-radius: 5px;
  background: rgba(28,26,23,0.04); color: var(--on-var); border: 1px solid var(--outline);
}
.node.internal { width: 19%; }
.node.external { width: 15.4%; }
.node.external .node-sub { font-size: 0.56rem; }

.diagram.dimmed .node:not(.active) { opacity: 0.16; }
.node.active { transform: translate(-50%, -50%) scale(1.05); z-index: 5; border-color: rgba(29,107,71,0.4); box-shadow: var(--shadow-soft); }

.diagram-mobile { display: none; }

@media (max-width: 860px) {
  .diagram, .conn-label, .grp-box, .grp-label { display: none; }
  .diagram-mobile { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
  .dm-group {
    border: 1px dashed rgba(29, 107, 71, 0.32); border-radius: 20px; padding: 16px; position: relative;
    background: rgba(29, 107, 71, 0.035);
  }
  .dm-group-label {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; color: var(--green-deep);
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  }
  .dm-group-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
  .dm-grid { display: grid; gap: 12px; }
  .dm-grid.three { grid-template-columns: 1fr; }
  .dm-ext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .dm-node {
    background: var(--paper-2); border: 1px solid var(--outline);
    border-radius: 13px; padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-card);
  }
}
@media (max-width: 480px) { .dm-ext { grid-template-columns: 1fr; } }

/* ---------- Outcome / feature cards ---------- */
.cards-grid { display: grid; gap: 20px; margin-top: 84px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 30px 28px; position: relative;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.feature-card .fc-ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 22px; background: rgba(28,26,23,0.035); border: 1px solid var(--outline);
}
.feature-card .fc-ico .material-symbols-outlined { font-size: 24px; }
.feature-card h4 { font-family: var(--display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; line-height: 1.2; }
.feature-card p { font-family: var(--font); font-size: 0.9rem; color: var(--on-var); line-height: 1.62; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--outline-strong); box-shadow: var(--shadow-soft); }

/* ============================================================
   CATALOG
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: 100px;
  background: var(--paper-2); border: 1px solid var(--outline);
  color: var(--on-var); font-size: 0.85rem; font-weight: 500; transition: all .22s;
}
.filter-chip .swatch { width: 7px; height: 7px; border-radius: 50%; }
.filter-chip:hover { border-color: var(--outline-strong); color: var(--on); }
.filter-chip.active { background: var(--green); color: #fbf8f1; border-color: var(--green); }
.filter-chip.active .swatch { background: #fbf8f1 !important; }

.swipe-hint { display: none; }
.catalog-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .catalog-grid { grid-template-columns: 1fr; } }

.course {
  --c: var(--t-software);
  position: relative; cursor: pointer; overflow: hidden;
  padding: 26px; display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--outline); border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s, box-shadow .3s;
}
.course::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--c); opacity: 0.85;
}
.course:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: var(--shadow-soft);
}
.course.hidden { display: none; }
.course-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.course-ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--c) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 28%, transparent);
}
.course-ico .material-symbols-outlined { font-size: 26px; color: var(--c); }
.badge-star {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 100px;
  background: rgba(176, 137, 47, 0.12); border: 1px solid rgba(176, 137, 47, 0.45);
  color: var(--gold); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.badge-star .material-symbols-outlined { font-size: 13px; font-variation-settings: 'FILL' 1; color: var(--gold); }
.course-track { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); margin-bottom: 9px; }
.course h4 { font-family: var(--display); font-size: 1.34rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 13px; line-height: 1.16; }
.course-desc { font-family: var(--font); font-size: 0.89rem; color: var(--on-var); line-height: 1.62; flex: 1; }
.course-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.course-meta .m { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--on-subtle); font-weight: 500; }
.course-meta .m .material-symbols-outlined { font-size: 16px; }
.course-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.stack-chip {
  font-size: 10px; font-weight: 500; letter-spacing: 0.01em;
  padding: 3px 9px; border-radius: 6px;
  background: rgba(28,26,23,0.035); color: var(--on-var);
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
}
.course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--rule); }
.course-sup { font-size: 0.72rem; color: var(--on-subtle); font-weight: 500; }
.course-sup b { color: var(--on-var); font-weight: 600; }
.course-open { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 600; color: var(--c); }
.course-open .material-symbols-outlined { font-size: 18px; transition: transform .2s; }
.course:hover .course-open .material-symbols-outlined { transform: translateX(3px); }

/* ---------- Z Tech Lab flagship — deep green block ---------- */
.flagship {
  margin-top: 48px; position: relative; overflow: hidden;
  border-radius: 22px; padding: 56px;
  background:
    radial-gradient(circle at 88% 10%, rgba(42, 138, 93, 0.4), transparent 55%),
    linear-gradient(150deg, #16432e, #0f3322);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
  color: #eef3ec;
}
.flagship-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.flagship-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 100px; margin-bottom: 22px;
  background: rgba(216, 184, 126, 0.14); border: 1px solid rgba(216, 184, 126, 0.4);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright);
}
.flagship h3 { font-family: var(--display); font-size: clamp(1.8rem, 3.1vw, 2.6rem); letter-spacing: -0.012em; line-height: 1.12; margin-bottom: 18px; font-weight: 500; color: #fff; }
.flagship h3 .grad { color: var(--gold-bright); -webkit-text-fill-color: var(--gold-bright); }
.flagship p { font-family: var(--font); font-size: 1rem; color: rgba(238,243,236,0.78); line-height: 1.66; max-width: 560px; }
.flagship-stats { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.fstat { padding: 16px 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255,255,255,0.1); }
.fstat b { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.01em; color: var(--gold-bright); font-feature-settings: 'tnum'; }
.fstat span { font-size: 0.68rem; color: rgba(238,243,236,0.6); font-weight: 600; letter-spacing: 0.12em; }
.flagship-side { display: flex; flex-direction: column; gap: 14px; }
.fside-row { display: flex; align-items: center; gap: 13px; font-size: 0.88rem; color: rgba(238,243,236,0.82); line-height: 1.4; }
.fside-row .material-symbols-outlined { font-size: 20px; color: var(--gold-bright); flex-shrink: 0; }

@media (max-width: 860px) {
  .flagship { padding: 38px 28px; }
  .flagship-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Catalog CTA ---------- */
.mini-cta {
  margin-top: 30px; padding: 36px 44px; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: var(--paper); border: 1px solid var(--outline);
}
.mini-cta h4 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 9px; }
.mini-cta p { font-family: var(--font); font-size: 0.92rem; color: var(--on-var); max-width: 560px; line-height: 1.6; }
@media (max-width: 720px) { .mini-cta { flex-direction: column; align-items: flex-start; padding: 30px; } }

/* ============================================================
   COURSE MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 36, 28, 0.45); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .28s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  --c: var(--t-software);
  position: relative; overflow: hidden;
  background: var(--paper); border: 1px solid var(--outline-strong);
  border-radius: 20px; max-width: 720px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  transform: translateY(18px) scale(0.98); transition: transform .28s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 50px 110px -30px rgba(20, 36, 28, 0.5);
}
.modal::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c); }
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-head { padding: 36px 36px 0; position: relative; }
.modal-close {
  position: absolute; top: 24px; right: 24px;
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--outline);
  background: var(--paper-2); color: var(--on-var); display: grid; place-items: center; transition: all .2s; z-index: 2;
}
.modal-close:hover { background: rgba(28,26,23,0.06); color: var(--on); }
.modal-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-right: 48px; }
.modal-ico {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
}
.modal-ico .material-symbols-outlined { font-size: 30px; color: var(--c); }
.modal-track { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.modal h3 { font-family: var(--display); font-size: 1.78rem; font-weight: 600; letter-spacing: -0.012em; line-height: 1.12; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 4px; }
.modal-meta .mm {
  display: flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 500; color: var(--on-var);
  padding: 8px 13px; border-radius: 10px; background: var(--paper-2); border: 1px solid var(--outline);
}
.modal-meta .mm .material-symbols-outlined { font-size: 17px; color: var(--c); }
.modal-body { padding: 26px 36px 36px; }
.modal-section-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin: 26px 0 15px; }
.modal-resume { font-family: var(--font); font-size: 1rem; color: var(--on-var); line-height: 1.66; }
.learn-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.learn-list li { display: flex; gap: 11px; font-size: 0.92rem; color: var(--on-var); line-height: 1.5; }
.learn-list li .material-symbols-outlined { font-size: 19px; color: var(--c); flex-shrink: 0; margin-top: 1px; }
.modal-stack { display: flex; flex-wrap: wrap; gap: 7px; }
.final-project {
  margin-top: 26px; padding: 22px; border-radius: 15px;
  background: color-mix(in srgb, var(--c) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
  display: flex; gap: 14px; align-items: flex-start;
}
.final-project .material-symbols-outlined { font-size: 24px; color: var(--c); flex-shrink: 0; }
.final-project .fp-label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); margin-bottom: 6px; }
.final-project p { font-size: 0.92rem; color: var(--on); line-height: 1.55; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px 26px; position: relative; }
.step-num {
  font-family: var(--display);
  font-size: 1.05rem; font-weight: 600; width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--green-tint); border: 1px solid rgba(29, 107, 71, 0.28); color: var(--green-deep);
}
.step h4 { font-family: var(--display); font-size: 1.16rem; font-weight: 600; margin-bottom: 11px; letter-spacing: -0.01em; line-height: 1.22; }
.step p { font-family: var(--font); font-size: 0.88rem; color: var(--on-var); line-height: 1.56; }
.steps-note { text-align: center; margin-top: 44px; font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--on-var); letter-spacing: -0.01em; }
.steps-note b { color: var(--green); font-style: italic; font-weight: 500; }

/* ============================================================
   CREDIBILITY
   ============================================================ */
.cred-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
@media (max-width: 880px) { .cred-grid { grid-template-columns: 1fr; } }
.cred-card { padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.cred-card.univc {
  border-color: rgba(29, 107, 71, 0.28);
  background: linear-gradient(160deg, rgba(29, 107, 71, 0.07), var(--paper-2));
}
.cred-head { display: flex; align-items: center; gap: 14px; }
.cred-ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: rgba(28,26,23,0.035); border: 1px solid var(--outline); }
.cred-ico .material-symbols-outlined { font-size: 26px; }
.cred-card.univc .cred-ico { background: var(--green-tint); border-color: rgba(29, 107, 71, 0.35); }
.cred-card.univc .cred-ico .material-symbols-outlined { color: var(--green); }
.cred-card h4 { font-family: var(--display); font-size: 1.24rem; font-weight: 600; letter-spacing: -0.01em; }
.cred-card p { font-family: var(--font); font-size: 0.9rem; color: var(--on-var); line-height: 1.62; }
.cred-card .seal-line { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--rule); font-size: 0.76rem; color: var(--green-deep); font-weight: 600; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--outline); border-radius: 14px; background: var(--paper-2); overflow: hidden; transition: border-color .25s, box-shadow .25s; box-shadow: var(--shadow-card); }
.faq-item.open { border-color: rgba(29,107,71,0.35); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--on);
  padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
}
.faq-q .material-symbols-outlined { font-size: 24px; color: var(--on-subtle); transition: transform .3s, color .25s; flex-shrink: 0; }
.faq-item.open .faq-q .material-symbols-outlined { transform: rotate(45deg); color: var(--green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 26px; font-family: var(--font); font-size: 0.94rem; color: var(--on-var); line-height: 1.68; }

/* ============================================================
   FORM
   ============================================================ */
.form-section { position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
@media (max-width: 920px) { .form-grid { grid-template-columns: 1fr; gap: 40px; } }
.form-aside h2 { font-family: var(--display); font-size: clamp(2.1rem, 4vw, 3.1rem); letter-spacing: -0.012em; line-height: 1.06; font-weight: 500; }
.form-aside .lead { margin-top: 22px; }
.form-trust { margin-top: 40px; display: flex; flex-direction: column; gap: 15px; }
.form-trust .ft { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--on-var); }
.form-trust .ft .material-symbols-outlined { font-size: 20px; color: var(--green); }

.form-card { padding: 40px; }
@media (max-width: 520px) { .form-card { padding: 28px 22px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.81rem; font-weight: 500; color: var(--on-var); margin-bottom: 8px; }
.field label .req { color: var(--green); }
.field input, .field select {
  width: 100%; padding: 14px 15px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--outline);
  color: var(--on); font-family: inherit; font-size: 0.95rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--on-subtle); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--green); background: var(--paper-2);
  box-shadow: 0 0 0 3px rgba(29, 107, 71, 0.14);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231d6b47' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field.error input, .field.error select { border-color: #c0533c; background: rgba(192, 83, 60, 0.05); }
.field .err-msg { display: none; font-size: 0.75rem; color: #c0533c; margin-top: 6px; font-weight: 500; }
.field.error .err-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.chips-field { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-chip {
  padding: 9px 15px; border-radius: 100px; font-size: 0.82rem; font-weight: 500;
  background: var(--bg); border: 1px solid var(--outline); color: var(--on-var);
  transition: all .18s; user-select: none;
}
.interest-chip:hover { border-color: var(--outline-strong); color: var(--on); }
.interest-chip.sel { background: var(--green); border-color: var(--green); color: #fbf8f1; }

.lgpd { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0 24px; cursor: pointer; }
.lgpd input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; accent-color: var(--green); cursor: pointer; }
.lgpd span { font-size: 0.81rem; color: var(--on-var); line-height: 1.5; }
.lgpd span a { color: var(--green); text-decoration: underline; }
.field.error.lgpd-field .lgpd span { color: #c0533c; }

.form-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 34px 20px; }
.form-success.show { display: flex; }
.success-ico {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-tint); border: 1px solid rgba(29, 107, 71, 0.4); margin-bottom: 26px;
}
.success-ico .material-symbols-outlined { font-size: 40px; color: var(--green); font-variation-settings: 'FILL' 1; }
.form-success h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 600; margin-bottom: 13px; letter-spacing: -0.012em; }
.form-success p { font-family: var(--font); font-size: 0.94rem; color: var(--on-var); line-height: 1.6; max-width: 380px; }

/* ============================================================
   FOOTER — deep green anchor
   ============================================================ */
.footer { padding: 76px 0 44px; background: var(--ink-deep); color: #e7ece6; }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: rgba(231,236,230,0.5); }
.footer .brand-mark { background: var(--green-bright); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 52px; }
.footer-brand { max-width: 360px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: 0.87rem; color: rgba(231,236,230,0.6); line-height: 1.62; }
.footer-cols { display: flex; gap: 68px; flex-wrap: wrap; }
.footer-col h5 { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(231,236,230,0.45); margin-bottom: 18px; }
.footer-col a { display: flex; align-items: center; gap: 8px; font-size: 0.89rem; color: rgba(231,236,230,0.72); margin-bottom: 13px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col a .material-symbols-outlined { font-size: 17px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-sig { display: flex; align-items: center; gap: 14px; }
.footer-sig .univc-crest .shield { stroke: var(--gold-bright); }
.footer-sig .univc-crest .flame { fill: var(--green-bright); }
.footer-sig-text { font-size: 0.79rem; color: rgba(231,236,230,0.5); line-height: 1.5; }
.footer-sig-text b { color: rgba(231,236,230,0.85); font-weight: 600; }
.footer-sig-text .accent { color: var(--gold-bright); font-weight: 600; }
.footer-copy { font-size: 0.77rem; color: rgba(231,236,230,0.4); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TECH LAYER — three.js hero · HUD · cursor · mono type
   ============================================================ */
:root { --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace; }

/* Monospace on technical metadata/labels (serif headings stay) */
.eyebrow .num, .eyebrow .label, .hero-badge, .nav-seal, .brand-text span,
.node-sub, .node-chip, .conn-label, .course-track, .course-meta .m,
.stack-chip, .modal-track, .modal-meta .mm, .modal-section-label,
.final-project .fp-label, .step-num, .fstat span, .footer-col h5,
.badge-star, .flagship-tag {
  font-family: var(--mono);
}
.eyebrow .label { letter-spacing: 0.22em; }
.hero-badge { letter-spacing: 0.01em; font-size: 11px; }
.course-track, .modal-track { letter-spacing: 0.12em; }
.flagship-tag, .badge-star { letter-spacing: 0.14em; }

/* ---------- three.js hero canvas ---------- */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0.9;
  -webkit-mask-image: radial-gradient(115% 105% at 74% 42%, #000 26%, transparent 80%);
  mask-image: radial-gradient(115% 105% at 74% 42%, #000 26%, transparent 80%);
}
.hero-inner { will-change: transform; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 300;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  transition: transform .08s linear; pointer-events: none;
}

/* ---------- Cursor spotlight ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px;
  margin: -230px 0 0 -230px; border-radius: 50%; z-index: 1;
  pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(29, 107, 71, 0.10), transparent 62%);
  mix-blend-mode: multiply;
}

/* ---------- Blueprint grid on alt sections ---------- */
.alt { position: relative; }
.alt::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 26, 23, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 26, 23, 0.032) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 84%, transparent);
}

/* ---------- Tilt perf ---------- */
.course, .feature-card, .cred-card, .step { transform-style: preserve-3d; }

/* ---------- React HUD ---------- */
.hero-hud { position: absolute; right: 28px; bottom: 34px; z-index: 3; }
.hud {
  width: 250px; font-family: var(--mono); color: var(--on);
  background: rgba(251, 248, 241, 0.7); backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--outline); border-radius: 13px; padding: 14px 15px;
  box-shadow: var(--shadow-card);
  animation: hudIn 1s cubic-bezier(.2,.7,.2,1) both .5s;
}
@keyframes hudIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hud-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: 0.1em; color: var(--on-subtle); }
.hud-status { display: flex; align-items: center; gap: 6px; color: var(--green-deep); font-weight: 600; }
.hud-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.6s infinite; }
.hud-clock { font-variant-numeric: tabular-nums; }
.hud-title { font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--green-deep); margin: 11px 0 9px; }
.hud-readouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hud-cell label { display: block; font-size: 8px; letter-spacing: 0.08em; color: var(--on-subtle); margin-bottom: 3px; }
.hud-cell b { font-size: 14px; font-weight: 600; color: var(--on); font-variant-numeric: tabular-nums; }
.hud-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 11px; }
.hud-bars { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.hud-bar { width: 4px; height: 100%; background: rgba(29, 107, 71, 0.14); border-radius: 2px; display: flex; align-items: flex-end; overflow: hidden; }
.hud-bar-fill { width: 100%; background: var(--green); border-radius: 2px; transition: height .9s cubic-bezier(.2,.7,.2,1); }
.hud-coords { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 9px; color: var(--on-var); font-variant-numeric: tabular-nums; }

/* ---------- Hero scroll cue ---------- */
.hero-scroll-cue {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 30px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.28em; color: var(--on-subtle);
}
.hsc-line { width: 1px; height: 44px; background: rgba(29,107,71,0.2); position: relative; overflow: hidden; }
.hsc-line::after { content: ''; position: absolute; left: 0; top: -60%; width: 100%; height: 60%; background: var(--green); animation: scrollcue 1.9s ease-in-out infinite; }
@keyframes scrollcue { 0% { top: -60%; } 100% { top: 110%; } }

@media (max-width: 900px) {
  .hero-hud, .hero-scroll-cue { display: none; }
  .hero-canvas { opacity: 0.7; -webkit-mask-image: radial-gradient(130% 100% at 50% 30%, #000 20%, transparent 82%); mask-image: radial-gradient(130% 100% at 50% 30%, #000 20%, transparent 82%); }
}

@media (prefers-reduced-motion: reduce) {
  .hsc-line::after, .hud-dot { animation: none; }
}

/* ============================================================
   MOBILE EXPERIENCE LAYER  ·  rebuilt mobile-first
   Goal: fluid reading rhythm, a convergence STORY (not a flat
   list), a swipeable catalog, and a thumb-zone sticky CTA.
   Desktop (>860px) stays exactly as designed.
   Research-backed: hierarchy-per-screen, progressive disclosure,
   sell-the-transformation, build desire before the ask.
   ============================================================ */

/* ---------- Ecosystem convergence story (matches .diagram-mobile @860) ---------- */
@media (max-width: 860px) {
  .diagram-wrap { margin-top: 8px; }
  .diagram-mobile { display: flex; flex-direction: column; align-items: stretch; gap: 0; }

  .eco-kicker {
    font-family: var(--display); font-size: 1.16rem; font-weight: 500;
    line-height: 1.42; color: var(--on-var); text-align: center;
    max-width: 32ch; margin: 2px auto 24px;
  }
  .eco-kicker b { color: var(--on); font-weight: 600; font-style: italic; }

  .eco-stage {
    border: 1px dashed rgba(29,107,71,0.32); background: rgba(29,107,71,0.04);
    border-radius: 18px; padding: 16px 14px;
  }
  .eco-stage-tag {
    font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
    color: var(--green-deep); display: flex; align-items: center; justify-content: center;
    gap: 8px; margin-bottom: 13px;
  }
  .eco-stage-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(29,107,71,0.5); animation: pulse 2.2s infinite; }
  .eco-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

  .eco-card {
    display: flex; align-items: center; gap: 11px;
    background: var(--paper-2); border: 1px solid var(--outline);
    border-left: 3px solid var(--ec); border-radius: 12px; padding: 12px;
    box-shadow: var(--shadow-card);
  }
  .eco-card .material-symbols-outlined { font-size: 22px; color: var(--ec); flex-shrink: 0; }
  .eco-card b { font-family: var(--display); font-size: 0.98rem; font-weight: 600; line-height: 1.1; display: block; }
  .eco-card i {
    font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--on-subtle); display: block; margin-top: 4px;
  }

  .eco-link {
    display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 11px 0;
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--on-subtle);
  }
  .eco-link .material-symbols-outlined { font-size: 20px; color: var(--green); }

  .eco-core {
    text-align: center; border-radius: 18px; padding: 24px 18px;
    background: linear-gradient(160deg, rgba(29,107,71,0.1), var(--paper-2));
    border: 1px solid rgba(29,107,71,0.3); box-shadow: var(--shadow-soft);
  }
  .eco-core-ico {
    width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
    margin: 0 auto 12px; background: var(--green);
    box-shadow: 0 12px 26px -10px rgba(15,77,49,0.6);
  }
  .eco-core-ico .material-symbols-outlined { font-size: 31px; color: #fbf8f1; }
  .eco-core-name { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.012em; }
  .eco-core-sub { font-size: 0.92rem; color: var(--on-var); margin: 5px auto 0; line-height: 1.42; max-width: 28ch; }
  .eco-core-feeds { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
  .eco-core-feeds span {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 0.79rem; font-weight: 600; color: var(--on-var);
    padding: 9px 12px; border-radius: 10px; background: var(--paper);
    border: 1px solid var(--outline); border-bottom: 2px solid var(--ec);
  }
  .eco-core-feeds .material-symbols-outlined { font-size: 17px; color: var(--ec); }

  .eco-out { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .eco-card.big { padding: 14px; }
  .eco-card.big .material-symbols-outlined { font-size: 25px; }
  .eco-card.big b { font-size: 1.06rem; }
}

/* ---------- Comprehensive rhythm / density / carousel / sticky CTA ---------- */
@media (max-width: 760px) {
  /* Vertical rhythm — cut the desktop bloat that made the page ~45 screens tall */
  .section { padding: 58px 0; }
  .section--tight { padding: 46px 0; }
  .container { padding: 0 18px; }
  .section-head { margin-bottom: 28px; }
  .section-head .lead { max-width: 100%; }

  .eyebrow { margin-bottom: 16px; gap: 11px; }
  .eyebrow .line { width: 26px; }
  .eyebrow .num { font-size: 11.5px; }
  .eyebrow .label { font-size: 10px; letter-spacing: 0.18em; }

  .h2 { font-size: clamp(1.85rem, 8vw, 2.3rem); line-height: 1.1; }
  .lead { font-size: 1rem; line-height: 1.6; margin-top: 14px; }

  /* Hero */
  .hero { padding: 114px 0 50px; }
  .hero h1 { font-size: clamp(2.4rem, 11.5vw, 3.05rem); line-height: 1.03; }
  .hero-badge { margin-bottom: 20px; }
  .hero-sub { font-size: 1.02rem; margin-top: 18px; line-height: 1.55; }
  .hero-cta { margin-top: 26px; gap: 10px; }
  .hero-cta .btn { width: 100%; flex: 1 1 100%; padding: 15px 22px; }
  .hero-seal { margin-top: 32px; padding-top: 20px; gap: 13px; }
  .hero-seal-text { font-size: 0.78rem; }

  /* Feature cards — compact icon-left rows (kills 8 full-screen stacks) */
  .cards-grid { margin-top: 26px; gap: 11px; }
  .feature-card { padding: 17px 18px; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 4px; }
  .feature-card .fc-ico { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin-bottom: 0; width: 46px; height: 46px; }
  .feature-card h4 { grid-column: 2; align-self: center; font-size: 1.06rem; margin-bottom: 0; line-height: 1.22; }
  .feature-card p { grid-column: 2; font-size: 0.86rem; line-height: 1.5; }

  /* Catalog → swipeable carousel with peek (App Store / Netflix pattern) */
  .filters { gap: 8px; margin-bottom: 16px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .swipe-hint {
    display: flex; align-items: center; gap: 7px; margin-bottom: 12px;
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--on-subtle);
  }
  .swipe-hint .material-symbols-outlined { font-size: 16px; color: var(--green); }
  .catalog-grid {
    display: flex; grid-template-columns: none; overflow-x: auto;
    scroll-snap-type: x mandatory; gap: 13px; margin: 0 -18px; padding: 4px 18px 16px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .catalog-grid::-webkit-scrollbar { display: none; }
  .course { scroll-snap-align: start; flex: 0 0 84%; }
  .course h4 { font-size: 1.22rem; }

  /* Flagship */
  .flagship { padding: 30px 22px; margin-top: 30px; border-radius: 18px; }
  .flagship h3 { font-size: 1.6rem; }
  .flagship p { font-size: 0.94rem; }
  .flagship-stats { gap: 9px; margin-top: 22px; }
  .fstat { flex: 1; padding: 13px 8px; text-align: center; }
  .fstat b { font-size: 1.5rem; }
  .flagship-side { margin-top: 2px; }
  .fside-row { font-size: 0.86rem; }

  /* Catalog mini-CTA */
  .mini-cta { margin-top: 20px; padding: 24px 20px; }
  .mini-cta h4 { font-size: 1.3rem; }
  .mini-cta p { font-size: 0.88rem; }
  .mini-cta .btn { width: 100%; }

  /* How it works — compact numbered rows */
  .steps { gap: 10px; }
  .step { padding: 17px 18px; display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; row-gap: 4px; }
  .step-num { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin-bottom: 0; width: 42px; height: 42px; }
  .step h4 { grid-column: 2; align-self: center; font-size: 1.04rem; margin-bottom: 0; line-height: 1.25; }
  .step p { grid-column: 2; font-size: 0.86rem; line-height: 1.5; }
  .steps-note { margin-top: 26px; font-size: 1.2rem; }

  /* Credibility */
  .cred-grid { gap: 12px; }
  .cred-card { padding: 22px; gap: 12px; }
  .cred-card h4 { font-size: 1.14rem; }
  .cred-card p { font-size: 0.88rem; }

  /* FAQ */
  .faq-list { gap: 10px; }
  .faq-q { padding: 18px; font-size: 1rem; gap: 14px; }
  .faq-a-inner { padding: 0 18px 20px; font-size: 0.9rem; }

  /* Lead form */
  .form-grid { gap: 28px; }
  .form-aside h2 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .form-trust { margin-top: 24px; gap: 12px; }
  .form-trust .ft { font-size: 0.86rem; }
  .form-card { padding: 22px 18px; }
  .field { margin-bottom: 14px; }

  /* Footer — extra bottom clearance so sticky CTA never clips it */
  .footer { padding: 48px 0 30px; }
  .footer-top { gap: 26px; margin-bottom: 30px; }
  .footer-cols { gap: 36px; }
}

/* ---------- Sticky thumb-zone CTA (mobile only) ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 760px) {
  .mobile-cta-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 150;
    padding: 9px 10px 9px 16px; border-radius: 15px;
    background: rgba(18, 33, 25, 0.93); backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 18px 44px -14px rgba(8, 30, 18, 0.7);
    transform: translateY(150%); opacity: 0; pointer-events: none;
    transition: transform .42s cubic-bezier(.2,.7,.2,1), opacity .3s;
  }
  .mobile-cta-bar.show { transform: none; opacity: 1; pointer-events: auto; }
  .mcb-text { display: flex; flex-direction: column; line-height: 1.15; }
  .mcb-text b { font-family: var(--display); font-size: 1rem; color: #fff; font-weight: 600; letter-spacing: -0.01em; }
  .mcb-text span { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(231,236,230,0.6); margin-top: 3px; }
  .mobile-cta-bar .btn-primary { background: var(--green-bright); padding: 12px 16px; flex-shrink: 0; box-shadow: none; }
  .mobile-cta-bar .btn-primary .material-symbols-outlined { font-size: 18px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 430px) {
  .hero h1 { font-size: 2.35rem; }
  .h2 { font-size: 1.78rem; }
  .course { flex: 0 0 87%; }
  .fstat b { font-size: 1.34rem; }
  .fstat span { font-size: 0.6rem; }
  .eco-core-name { font-size: 1.42rem; }
  .mcb-text span { font-size: 8px; }
}
