/* ================= Fonts (identidade atual Sensu) ================= */
@font-face { font-family: "Satoshi"; src: url(assets/fonts/Satoshi-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(assets/fonts/Satoshi-Regular.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(assets/fonts/Satoshi-Bold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(assets/fonts/Satoshi-Black.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "New York"; src: url(assets/fonts/NewYorkMedium-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "New York"; src: url(assets/fonts/NewYorkMedium-Semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "New York"; src: url(assets/fonts/NewYorkMedium-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* ================= Tokens ================= */
:root {
  --blue: #1539d9;
  --blue-600: #0f2db8;
  --blue-800: #0a1d78;
  --navy: #0b1437;
  --cyan: #00cdf5;
  --cyan-soft: #e3f8fe;
  --blue-soft: #eaeefe;
  --bg: #f3f5fc;
  --surface: #ffffff;
  --line: #e4e8f4;
  --text: #0b1437;
  --muted: #5d6685;
  --hot: #ff5a36;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 1px 2px rgba(11, 20, 55, .04), 0 8px 24px -12px rgba(11, 20, 55, .12);
  --shadow-lg: 0 24px 48px -24px rgba(21, 57, 217, .35);
  --serif: "New York", "Iowan Old Style", Georgia, serif;
  --sans: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sidebar: 268px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 10px; }

/* ================= Shell ================= */
.app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }

/* ---------- Sidebar ---------- */
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 8px;
  padding: 28px 18px 20px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto;
}
.sidebar__head { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 18px; }
.brand img { width: 160px; height: auto; }
.icon-btn.sidebar__close { display: none; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9aa2bd; padding: 16px 12px 8px; }
.nav__item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
  font-weight: 500; color: var(--muted); transition: background .15s, color .15s;
}
.nav__item:hover { background: var(--bg); color: var(--text); }
.nav__item.is-active { background: var(--navy); color: #fff; box-shadow: 0 10px 20px -12px rgba(11,20,55,.7); }
.nav__item.is-active svg { color: var(--cyan); }
.nav__count { margin-left: auto; font-size: 12px; font-weight: 700; background: var(--blue-soft); color: var(--blue); padding: 1px 8px; border-radius: 99px; }
.nav__item.is-active .nav__count { background: rgba(255,255,255,.14); color: #fff; }
.pill { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--cyan-soft); color: #0084a3; }
.pill--hot { background: #fff0ec; color: var(--hot); }

.student-card {
  position: relative; margin-top: auto; padding: 104px 18px 18px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-800) 100%); color: #fff; overflow: hidden; isolation: isolate;
  min-height: 210px; display: flex; flex-direction: column; gap: 4px;
}
.student-card::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 28px solid rgba(0,205,245,.18); top: -60px; left: -50px; z-index: -1; }
.student-card__img { position: absolute; right: -28px; bottom: 0; height: 190px; width: auto; z-index: -1; transition: transform .3s; }
.student-card:hover .student-card__img { transform: translateY(-4px); }
.student-card__kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.student-card__title { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; max-width: 120px; }
.student-card__btn { margin-top: 10px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--cyan); color: var(--navy); border-radius: 12px; }

.scrim { display: none; }

/* ---------- Main ---------- */
.main { padding: 28px clamp(16px, 3vw, 40px) 40px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.topbar { display: flex; align-items: center; gap: 12px; }
.icon-btn.topbar__menu, .topbar__logo { display: none; }
.topbar__title { margin-right: auto; min-width: 0; }
.eyebrow { font-size: 14px; color: var(--muted); }
.topbar h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.01em; line-height: 1.2; }

.search {
  display: flex; align-items: center; gap: 10px; width: min(340px, 30vw); height: 48px; padding: 0 12px 0 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,57,217,.1); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--text); }
.search kbd { font: 600 12px var(--sans); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; color: #9aa2bd; }

.icon-btn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; position: relative; color: var(--text); }
.icon-btn--bordered { background: var(--surface); border: 1px solid var(--line); }
.icon-btn:hover { background: var(--blue-soft); }
.dot { position: absolute; top: 12px; right: 13px; width: 8px; height: 8px; background: var(--hot); border: 2px solid #fff; border-radius: 50%; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; white-space: nowrap; transition: transform .15s, background .15s, box-shadow .15s; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-lg); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: var(--blue-soft); color: var(--blue); }
.btn--ghost:hover { background: #dce3fd; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--cyan-soft); }

.badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.badge--light { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Promo ---------- */
.promo {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px;
  padding: 22px 26px; border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #1f47f0 0%, var(--blue) 40%, var(--navy) 100%);
}
.promo__glow { position: absolute; inset: auto -80px -120px auto; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0,205,245,.45), transparent 65%); pointer-events: none; }
.promo__info { display: flex; flex-direction: column; gap: 6px; position: relative; }
.promo h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2vw, 26px); }
.promo h2 em { font-style: normal; color: var(--cyan); }
.promo p { color: rgba(255,255,255,.75); font-size: 14px; }
.promo__timer { display: flex; gap: 8px; position: relative; }
.promo__timer div { width: 62px; padding: 8px 0; text-align: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; backdrop-filter: blur(6px); }
.promo__timer b { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.promo__timer span { font-size: 11px; color: rgba(255,255,255,.7); }
.coupon { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 16px; color: #fff; background: rgba(255,255,255,.08); border: 1.5px dashed rgba(255,255,255,.4); backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.coupon__code { display: flex; flex-direction: column; line-height: 1.1; padding-right: 10px; font-weight: 800; font-size: 18px; letter-spacing: .14em; }
.coupon__code::before { content: "Cupom"; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 3px; }
.coupon__action { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 11px; background: #fff; color: var(--blue); font-weight: 700; font-size: 14px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); transition: background .2s, color .2s, transform .15s; }
.coupon__action svg { width: 17px; height: 17px; }
.coupon:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); }
.coupon:hover .coupon__action { background: var(--cyan); color: var(--navy); }
.coupon:active .coupon__action { transform: scale(.96); }
.coupon.is-copied { border-style: solid; border-color: var(--cyan); }
.coupon.is-copied .coupon__action { background: var(--cyan); color: var(--navy); }

/* ---------- Hero ---------- */
.grid-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero__body { display: flex; flex-direction: column; gap: 16px; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -.015em; }
.hero__text { color: var(--muted); font-size: 16px; max-width: 46ch; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 6px; }
.checks svg { width: 16px; height: 16px; color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; stroke-width: 3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero__media { position: relative; }
.hero__media img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }

.stats { display: flex; flex-direction: column; gap: 12px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stat b { display: block; font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.stat div span { display: block; font-size: 14px; line-height: 1.3; color: var(--muted); }
.stat__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--blue); color: #fff; }
.stat__icon--cyan { background: var(--cyan); color: var(--navy); }
.stat__icon--soft { background: var(--blue-soft); color: var(--blue); }
.stats__note { flex: 1; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--navy); color: rgba(255,255,255,.75); font-size: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.stats__note strong { color: #fff; display: block; }
.stats__faces { display: flex; }
.stats__note img { width: 36px; height: 36px; object-fit: cover; object-position: top; border-radius: 50%; border: 2px solid var(--navy); margin-right: -10px; }
.stats__note p { margin-top: 2px; }

/* ---------- Panels ---------- */
.panel { padding: 24px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.panel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.01em; }
.section-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); white-space: nowrap; font-size: 14px; }
.link svg { width: 16px; height: 16px; transition: transform .15s; }
.link:hover svg { transform: translateX(3px); }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; padding: 10px 14px 14px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.tab span { color: #9aa2bd; font-size: 13px; }
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); font-weight: 700; }
.tab.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue); }

/* Carousel */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__nav { position: absolute; top: 108px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: opacity .2s; }
.carousel__nav:hover { color: var(--blue); }
.carousel__nav--prev { left: -18px; }
.carousel__nav--next { right: -18px; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }

.course { scroll-snap-align: start; display: flex; flex-direction: column; padding: 10px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); transition: transform .2s, box-shadow .2s, border-color .2s; }
.course:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(11,20,55,.35); border-color: #d3daf2; }
.course__media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--blue-soft); }
.course__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; transition: transform .4s; }
.course:hover .course__media img { transform: scale(1.04); }
.course__cover { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, rgba(0,205,245,.55), transparent 50%), linear-gradient(160deg, var(--blue), var(--navy)); }
.course__cover svg { position: absolute; top: 16px; left: 16px; width: 34px; height: 34px; color: var(--cyan); stroke-width: 1.4; }
.course__cover small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.course__cover b { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.15; }
.course__save { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(11,20,55,.75); color: #fff; backdrop-filter: blur(6px); transition: background .15s; }
.course__save svg { width: 17px; height: 17px; }
.course__save:hover { background: var(--navy); }
.course__save[aria-pressed="true"] { background: var(--cyan); color: var(--navy); }
.course__save[aria-pressed="true"] svg { fill: currentColor; }
.course__flag { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: #fff; color: var(--navy); }
.course__flag--new { background: var(--cyan); }
.course__body { display: flex; flex-direction: column; gap: 10px; padding: 14px 8px 6px; flex: 1; }
.course__cat { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.course__title { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.25; }
.course__feats { list-style: none; margin: 0; padding: 0 0 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.course__feats li { display: flex; align-items: center; gap: 8px; }
.course__feats svg { width: 15px; height: 15px; color: var(--blue); stroke-width: 2.6; }
.course__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 2px; }
.course__foot .link { font-size: 14px; }
.course__go { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); transition: background .15s, color .15s; }
.course:hover .course__go { background: var(--blue); color: #fff; }
.empty { padding: 32px; text-align: center; color: var(--muted); }

/* Professors */
.profs { display: grid; grid-auto-flow: column; grid-auto-columns: 176px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.prof { scroll-snap-align: start; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; background: #dfe3ee; }
.prof img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.prof:hover img { transform: scale(1.05); }
.prof__info { position: absolute; inset: auto 8px 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.prof__info b { display: block; font-size: 14px; line-height: 1.25; }
.prof__info span { font-size: 12px; color: var(--blue); font-weight: 700; }

/* Free + platform */
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; }
.free { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-xl); color: #fff; background: linear-gradient(150deg, #10b8de 0%, var(--blue) 55%, var(--blue-800) 100%); }
.free h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.free h2 em { display: block; font-style: normal; color: #bff2ff; }
.free p { color: rgba(255,255,255,.8); max-width: 34ch; }
.free .btn { width: fit-content; margin-top: auto; }
.free__deco { position: absolute; width: 220px; height: 220px; right: -50px; bottom: -60px; color: rgba(255,255,255,.12); stroke-width: 1; }

.platform { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 12px; padding: 28px 0 28px 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.platform__text { display: flex; flex-direction: column; gap: 14px; }
.platform h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; }
.platform__img { width: 100%; transform: translateX(8%); filter: drop-shadow(0 20px 30px rgba(11,20,55,.18)); }
.mini-features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mini-features li { display: flex; gap: 12px; align-items: flex-start; }
.mini-features svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.mini-features b { display: block; font-size: 15px; }
.mini-features span { font-size: 13px; color: var(--muted); }

/* Content + benefits */
.grid-content { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
.articles { display: flex; flex-direction: column; gap: 8px; }
.article { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: 16px; transition: background .15s; }
.article:hover { background: var(--bg); }
.article__thumb { width: 120px; height: 84px; object-fit: cover; border-radius: 12px; }
.article__thumb--cover { display: grid; place-items: center; background: linear-gradient(160deg, var(--blue), var(--navy)); color: var(--cyan); }
.article__thumb--cover svg { width: 32px; height: 32px; stroke-width: 1.4; }
.article__tag { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.article h3 { font-size: 16px; font-weight: 700; line-height: 1.3; margin: 2px 0 4px; }
.article__more { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.article__more svg { width: 14px; height: 14px; }
.article:hover .article__more { color: var(--blue); }

.benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; padding: 10px; border-radius: 14px; }
.benefits li:hover { background: var(--bg); }
.benefits li > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--cyan-soft); color: #0084a3; flex-shrink: 0; }
.benefits b { font-size: 15px; }
.benefits p { font-size: 13px; color: var(--muted); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { margin: 0; padding: 22px; border-radius: var(--radius-lg); background: var(--bg); display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.45; position: relative; padding-top: 22px; }
.quote blockquote::before { content: "“"; position: absolute; top: -14px; left: -2px; font-size: 54px; color: var(--blue); line-height: 1; }
.quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.quote figcaption b { display: block; font-size: 14px; }
.quote figcaption span { font-size: 13px; color: var(--muted); }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff !important; font-weight: 700; font-size: 13px !important; }

/* Footer */
.footer { display: flex; flex-direction: column; gap: 18px; }
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; border-radius: var(--radius-xl); background: var(--navy); color: #fff; }
.footer__cta h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; }
.footer__cta p { color: rgba(255,255,255,.7); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding: 0 4px; }
.footer__bottom a:hover { color: var(--blue); }
.social { display: flex; gap: 6px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.social svg { width: 17px; height: 17px; }

/* Mobile tabbar */
.tabbar { display: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 500; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; box-shadow: 0 10px 30px rgba(11,20,55,.3); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ================= Página de contato ================= */
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs svg { width: 14px; height: 14px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { color: var(--text); font-weight: 500; }

.channels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 16px; }
.channel { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; transition: transform .2s, box-shadow .2s; }
a.channel:hover, .channel:has(a.channel__text:hover) { transform: translateY(-2px); box-shadow: 0 18px 30px -20px rgba(11,20,55,.35); }
.channel__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--blue); color: #fff; flex-shrink: 0; }
.channel__icon svg { width: 24px; height: 24px; }
.channel__icon--soft { background: var(--blue-soft); color: var(--blue); }
.channel__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.channel__label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.channel__text b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel__hint { font-size: 13px; color: var(--muted); }
.channel__go { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; transition: background .15s, color .15s; }
.channel__go svg { width: 18px; height: 18px; }
.channel__go:hover, a.channel:hover .channel__go { background: var(--blue); color: #fff; }
.channel--wa { background: linear-gradient(150deg, var(--blue) 0%, var(--blue-800) 100%); border-color: transparent; color: #fff; }
.channel--wa .channel__icon { background: var(--cyan); color: var(--navy); }
.channel--wa .channel__label, .channel--wa .channel__hint { color: rgba(255,255,255,.75); }
.channel--wa .channel__go { background: rgba(255,255,255,.14); color: #fff; }
.channel--wa:hover .channel__go { background: #fff; color: var(--blue); }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; background: rgba(0,205,245,.18); color: #bff2ff; letter-spacing: .02em; text-transform: none; font-weight: 700; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(0,205,245,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(0,205,245,0); } 100% { box-shadow: 0 0 0 0 rgba(0,205,245,0); } }
.channel--social { flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.social--lg { gap: 8px; flex-wrap: wrap; }
.social--lg a { width: auto; height: 40px; padding: 0 14px 0 10px; gap: 8px; display: inline-flex; align-items: center; font-weight: 700; font-size: 14px; background: var(--bg); border-color: transparent; transition: background .15s, color .15s; }
.social--lg a:hover { background: var(--blue-soft); color: var(--blue); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.form-panel { padding: 28px; scroll-margin-top: 24px; }

.subjects { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.subjects legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--muted); transition: all .15s; }
.chip:hover span { border-color: #c5cdea; color: var(--text); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }
.counter { font-weight: 500; color: #9aa2bd; font-size: 13px; }
.input { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: #9aa2bd; transition: border-color .15s, box-shadow .15s, background .15s; }
.input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--text); }
.field textarea { border-radius: 14px; border: 1px solid var(--line); background: var(--bg); padding: 14px; font: inherit; color: var(--text); resize: vertical; min-height: 130px; outline: 0; transition: border-color .15s, box-shadow .15s, background .15s; }
.input:focus-within, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(21,57,217,.1); color: var(--blue); }
.field__error { display: none; font-size: 13px; color: #d92d20; font-weight: 500; }
.field.is-invalid .input, .field.is-invalid textarea { border-color: #f04438; background: #fff6f5; }
.field.is-invalid .field__error { display: block; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.form-note { font-size: 13px; color: var(--muted); }
.form-note a { color: var(--blue); font-weight: 700; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 12px; }
.form-success[hidden] { display: none; }
.form-success__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan-soft); color: #0084a3; }
.form-success__icon svg { width: 30px; height: 30px; stroke-width: 2.6; }
.form-success h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.form-success p { color: var(--muted); max-width: 42ch; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.help-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-xl); color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1f47f0 0%, var(--blue) 40%, var(--navy) 100%); }
.help-card::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(0,205,245,.45), transparent 65%); pointer-events: none; }
.help-card h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
.help-card h2 em { font-style: normal; color: var(--cyan); }
.help-card p { color: rgba(255,255,255,.78); font-size: 15px; }
.help-card .btn { width: fit-content; position: relative; z-index: 1; margin-top: 4px; }
.partner-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.partner-card:hover { transform: translateY(-2px); border-color: #c5cdea; }
.partner-card b { display: block; }
.partner-card div span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.partner-card__arrow { margin-left: auto; color: var(--blue); transition: transform .15s; }
.partner-card:hover .partner-card__arrow { transform: translateX(3px); }

.section-title--sm { font-size: 20px; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 700; font-size: 15px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: var(--bg); color: var(--blue); transition: transform .2s, background .2s; }
.faq details[open] summary svg { transform: rotate(45deg); background: var(--blue-soft); }
.faq details p { padding: 0 0 16px; font-size: 14px; color: var(--muted); }
.faq details a { color: var(--blue); font-weight: 700; }

@media (max-width: 1280px) {
  .channels { grid-template-columns: 1fr 1fr; }
  .channel--social { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .channels { grid-template-columns: 1fr; gap: 10px; }
  .channel { padding: 14px; }
  .channel__icon { width: 44px; height: 44px; border-radius: 14px; }
  .channel__text b { font-size: 15px; white-space: normal; overflow-wrap: anywhere; }
  .channel--social { flex-direction: column; align-items: flex-start; grid-column: auto; }
  .form-panel { padding: 20px; }
  .subjects { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .subjects::-webkit-scrollbar { display: none; }
  .chip span { white-space: nowrap; }
  .fields { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .help-card .btn { width: 100%; }
}

/* ================= Página Seja parceiro ================= */
.partner-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.partner-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.partner-side { display: flex; flex-direction: column; gap: 16px; }
@media (min-height: 1000px) and (min-width: 1081px) { .partner-side { position: sticky; top: 24px; } }

.p-hero { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius-xl); color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1f47f0 0%, var(--blue) 40%, var(--navy) 100%); }
.p-hero__glow { position: absolute; right: -90px; top: -110px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(0,205,245,.45), transparent 65%); z-index: -1; }
.p-hero h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; letter-spacing: -.015em; max-width: 18ch; }
.p-hero h2 em { font-style: normal; color: var(--cyan); }
.p-hero p { color: rgba(255,255,255,.8); max-width: 58ch; font-size: 16px; }
.p-hero__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.kpi { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.3; }
.kpi b { font-size: 30px; font-weight: 900; color: var(--cyan); letter-spacing: -.02em; line-height: 1; }
.kpi__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.14); color: var(--cyan); flex-shrink: 0; }
.kpi__icon svg { width: 18px; height: 18px; }
.p-hero__cta { width: fit-content; margin-top: 6px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; position: relative; }
.step { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--radius-lg); background: var(--bg); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 37px; right: -16px; width: 16px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px); opacity: .5; }
.step__n { position: absolute; top: 14px; right: 16px; font-family: var(--serif); font-weight: 600; font-size: 28px; color: #d3daf2; line-height: 1; }
.step__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--blue); color: #fff; margin-bottom: 4px; }
.step__icon svg { width: 19px; height: 19px; }
.step:last-child .step__icon { background: var(--cyan); color: var(--navy); }
.step b { font-size: 16px; }
.step p { font-size: 13px; color: var(--muted); }

/* Simulador */
.sim__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.sim__controls { display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.sim__control label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.sim__control output { font-size: 22px; font-weight: 900; color: var(--blue); }
.sim__scale { display: flex; justify-content: space-between; font-size: 12px; color: #9aa2bd; margin-top: 4px; }
input[type="range"] { --fill: 10%; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--fill), var(--line) var(--fill)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--blue); box-shadow: 0 4px 10px rgba(21,57,217,.35); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--blue); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(21,57,217,.25); }
.input__prefix { font-weight: 700; color: var(--muted); }
.sim__result { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 22px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.sim__result > span { font-size: 13px; color: rgba(255,255,255,.7); }
.sim__result b { font-size: clamp(30px, 3.2vw, 42px); font-weight: 900; letter-spacing: -.02em; color: var(--cyan); line-height: 1.1; font-variant-numeric: tabular-nums; }
.sim__result small { font-size: 14px; color: rgba(255,255,255,.75); }
.sim__result small span { color: #fff; font-weight: 700; }
.sim__note { margin-top: 14px; font-size: 12px; color: #9aa2bd; }

/* Perks */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.perk { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.perk:hover { border-color: #c5cdea; transform: translateY(-2px); }
.perk > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--cyan-soft); color: #0084a3; margin-bottom: 6px; }
.perk b { font-size: 15px; }
.perk p { font-size: 13px; color: var(--muted); }
.perk--cta { background: var(--blue); border-color: var(--blue); color: #fff; justify-content: flex-end; }
.perk--cta p { color: rgba(255,255,255,.8); }
.perk--cta:hover { border-color: var(--blue); background: var(--blue-600); }
.perk__go { margin-top: 10px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--cyan); color: var(--navy); }

/* Signup */
.signup { padding: 24px; scroll-margin-top: 24px; }
.signup__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.signup__head .section-title--sm { margin: 0; }
.fields--stack { grid-template-columns: 1fr; }
.channels-pick { border: 0; margin: 0; padding: 0; min-width: 0; gap: 10px; }
.channels-pick legend { font-size: 14px; font-weight: 700; padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip--sm span { height: 34px; padding: 0 12px; font-size: 13px; }
.chip input[type="checkbox"]:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.channels-pick.is-invalid .chip span { border-color: #f04438; }
.input--select { position: relative; }
.input--select select { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--text); -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 22px; }
.input--select select:invalid { color: #9aa2bd; }
.input--select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.field.is-invalid .input--select { border-color: #f04438; background: #fff6f5; }
.signup__btn { width: 100%; margin-top: 20px; }
.signup__note { text-align: center; margin-top: 10px; }

@media (max-width: 1280px) {
  .partner-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-hero__kpis { grid-template-columns: 1fr 1fr; }
  .kpi:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .partner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .p-hero { padding: 22px; }
  .p-hero__kpis { grid-template-columns: 1fr; }
  .p-hero__cta { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step::after { display: none; }
  .sim__body { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .signup { padding: 20px; }
}

/* ================= Conteúdos (lista) ================= */
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 700; white-space: nowrap; }
a.tag:hover { background: var(--blue); color: #fff; }
mark { background: #c9f4ff; color: inherit; border-radius: 3px; padding: 0 2px; }

.featured { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.featured[hidden] { display: none; }
.feat-main { position: relative; display: block; min-height: 400px; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; color: #fff; }
.feat-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.feat-main::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,20,55,0) 20%, rgba(11,20,55,.6) 55%, rgba(11,20,55,.95) 100%); }
.feat-main:hover img { transform: scale(1.03); }
.feat-main__overlay { position: absolute; inset: auto 0 0 0; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.feat-main h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; max-width: 26ch; }
.feat-main p { color: rgba(255,255,255,.8); max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-main__meta { font-size: 13px; color: rgba(255,255,255,.7); }
.feat-side { display: flex; flex-direction: column; gap: 20px; }
.feat-item { flex: 1; display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.feat-item:hover { transform: translateY(-2px); border-color: #c5cdea; }
.feat-item img { width: 140px; height: 100%; min-height: 120px; object-fit: cover; border-radius: 14px; }
.feat-item div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.feat-item h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat-item__meta { font-size: 12px; color: var(--muted); }

.blog-head { align-items: center; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.sort select { height: 40px; padding: 0 34px 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235d6685' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 12px center; font: inherit; font-weight: 700; color: var(--text); -webkit-appearance: none; appearance: none; cursor: pointer; }
.cat-chips { display: flex; gap: 8px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 500; font-size: 14px; color: var(--muted); white-space: nowrap; transition: all .15s; }
.cat-chip span { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--bg); color: var(--muted); }
.cat-chip:hover { border-color: #c5cdea; color: var(--text); }
.cat-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-chip.is-active span { background: rgba(255,255,255,.16); color: #fff; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(11,20,55,.35); border-color: #d3daf2; }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--cyan); background: linear-gradient(160deg, var(--blue), var(--navy)); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.post-card h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.28; }
.post-card h3 a:hover { color: var(--blue); }
.post-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.load-more { display: flex; justify-content: center; margin-top: 24px; }
.load-more .btn[hidden] { display: none; }
.blog-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 12px; }
.blog-empty[hidden] { display: none; }
.blog-empty h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.blog-empty p { color: var(--muted); }
.blog-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: var(--radius-xl); color: #fff; background: linear-gradient(150deg, #10b8de 0%, var(--blue) 55%, var(--blue-800) 100%); }
.blog-cta > div { display: flex; flex-direction: column; gap: 8px; }
.blog-cta h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; }
.blog-cta p { color: rgba(255,255,255,.85); }

/* ================= Post ================= */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 0 3px 3px 0; }
.topbar__post-title { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52ch; }
.crumbs a#crumbCat { color: var(--text); font-weight: 500; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.post { padding: 40px clamp(20px, 4vw, 56px) 32px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.post__head { max-width: 760px; margin: 0 auto 24px; display: flex; flex-direction: column; gap: 14px; }
.post__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.post__title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.015em; }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.post__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post__meta svg { width: 16px; height: 16px; }
.post__cover { margin: 0 auto 32px; max-width: 900px; border-radius: 20px; overflow: hidden; }
.post__cover[hidden] { display: none; }
.post__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: #1f2747; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 + *, .prose > h3 + *, .prose > h4 + * { margin-top: .55em; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.25; color: var(--text); margin-top: 1.8em; scroll-margin-top: 24px; }
.prose h3 { font-weight: 800; font-size: 21px; line-height: 1.35; color: var(--text); margin-top: 1.6em; }
.prose h4 { font-weight: 700; font-size: 18px; margin-top: 1.4em; }
.prose strong, .prose b { color: var(--text); }
.prose a { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(21,57,217,.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue); }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: .45em; }
.prose ul li::marker { color: var(--blue); }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 14px 14px 0; font-family: var(--serif); font-size: 19px; color: var(--text); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 1.6em 0; }
.prose img { border-radius: 14px; height: auto; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose sup { font-size: .7em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th, .prose tr:first-child td { background: var(--bg); font-weight: 700; color: var(--text); }
.prose tr:last-child td { border-bottom: 0; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.post__foot { max-width: 720px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--bg); color: var(--text); transition: background .15s, color .15s; }
.share a:hover, .share button:hover { background: var(--blue); color: #fff; }
.share svg { width: 18px; height: 18px; }
.post__nav { max-width: 720px; margin: 24px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.post__nav-item { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.post__nav-item:hover { border-color: #c5cdea; background: var(--bg); }
.post__nav-item span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.post__nav-item span svg { width: 14px; height: 14px; }
.post__nav-item b { font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post__nav-item--next { text-align: right; align-items: flex-end; grid-column: 2; }

.post-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.post-side[hidden] { display: none; }
.toc-panel, .share-panel { padding: 20px; }
.toc-panel[hidden] { display: none; }
.toc__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9aa2bd; margin-bottom: 10px; }
.toc { display: flex; flex-direction: column; max-height: 46vh; overflow-y: auto; }
.toc a { padding: 8px 0 8px 14px; border-left: 2px solid var(--line); font-size: 14px; line-height: 1.35; color: var(--muted); transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--blue); border-color: var(--blue); font-weight: 700; }
.side-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 6px; min-height: 230px; padding: 20px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(160deg, var(--blue), var(--blue-800)); }
.side-cta img { position: absolute; right: -24px; bottom: 0; height: 200px; width: auto; z-index: -1; }
.side-cta strong { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.2; max-width: 150px; }
.side-cta__btn { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 10px 14px; border-radius: 12px; background: var(--cyan); color: var(--navy); font-weight: 700; font-size: 14px; }
.side-cta__btn svg { width: 16px; height: 16px; }
.posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.skeleton { display: block; border-radius: 10px; background: linear-gradient(90deg, var(--bg) 25%, #e8ecf7 50%, var(--bg) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.skeleton--title { height: 44px; width: 80%; }
.skeleton--cover { aspect-ratio: 16 / 9; width: 100%; border-radius: 0; }
.skeleton--line { height: 18px; margin-top: 14px; }
.skeleton--short { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 1280px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 1080px) {
  .featured { grid-template-columns: 1fr; }
  .feat-side { flex-direction: row; }
  .feat-item { grid-template-columns: 1fr; }
  .feat-item img { width: 100%; height: 160px; }
  .post-layout { grid-template-columns: 1fr; }
  .post-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .toc-panel { grid-column: 1 / -1; }
  .side-cta { display: none; }
}
@media (max-width: 760px) {
  .feat-main { min-height: 360px; border-radius: 22px; }
  .feat-main__overlay { padding: 20px; }
  .feat-side { flex-direction: column; gap: 12px; }
  .feat-item { grid-template-columns: 110px 1fr; gap: 12px; padding: 10px; }
  .feat-item img { width: 110px; height: 100%; min-height: 96px; }
  .feat-item h3 { font-size: 15px; }
  .blog-head { flex-direction: row; align-items: center; }
  .sort span { display: none; }
  .cat-chips { margin-right: -18px; padding-right: 18px; }
  .posts, .posts--3 { grid-template-columns: 1fr; }
  .blog-cta { flex-direction: column; align-items: stretch; padding: 22px; }
  .blog-cta h2 { font-size: 22px; }
  .post { padding: 24px 18px; border-radius: 22px; }
  .post__cover { margin: 0 -18px 24px; border-radius: 0; }
  .prose { font-size: 17px; line-height: 1.7; }
  .prose h2 { font-size: 23px; }
  .prose h3 { font-size: 19px; }
  .post__foot { flex-direction: column; align-items: flex-start; }
  .post__nav { grid-template-columns: 1fr; }
  .post__nav-item--next { grid-column: auto; }
  .post-side { grid-template-columns: 1fr; }
  .share-panel { display: none; }
}

/* ================= Professores ================= */
.prof-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: stretch; padding: 32px; border-radius: var(--radius-xl); color: #fff; position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 140% at 0% 0%, #1f47f0 0%, var(--blue) 40%, var(--navy) 100%); }
.prof-hero::after { content: ""; position: absolute; right: -100px; bottom: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0,205,245,.4), transparent 65%); z-index: -1; }
.prof-hero__text { display: flex; flex-direction: column; gap: 14px; }
.prof-hero h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; }
.prof-hero h2 em { font-style: normal; color: var(--cyan); }
.prof-hero p { color: rgba(255,255,255,.8); max-width: 56ch; }
.prof-hero__faces { display: flex; align-items: center; margin-top: 6px; }
.prof-hero__faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--blue); margin-right: -12px; background: #dfe3ee; }
.prof-hero__faces span { height: 46px; min-width: 46px; padding: 0 10px; display: grid; place-items: center; border-radius: 99px; background: var(--cyan); color: var(--navy); font-weight: 800; font-size: 14px; border: 3px solid var(--blue); }
.prof-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.hstat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #fff; text-align: left; backdrop-filter: blur(6px); transition: background .15s; }
button.hstat:hover { background: rgba(255,255,255,.18); }
.hstat b { font-size: 26px; font-weight: 900; line-height: 1.1; }
.hstat span { font-size: 13px; color: rgba(255,255,255,.75); }
.hstat--main { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; background: var(--cyan); color: var(--navy); border-color: transparent; }
.hstat--main b { font-size: 34px; }
.hstat--main span { color: var(--navy); font-weight: 700; font-size: 15px; }

.list-tools { display: flex; gap: 12px; flex-wrap: wrap; }
.list-tools select { max-width: 240px; }

.prof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.prof-grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prof-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.prof-card:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(11,20,55,.35); border-color: #d3daf2; }
.prof-card__media { position: relative; aspect-ratio: 4 / 4.4; background: #dfe3ee; overflow: hidden; }
.prof-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.prof-card:hover .prof-card__media img { transform: scale(1.04); }
.prof-card__count { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: rgba(11,20,55,.78); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.prof-card__count svg { width: 13px; height: 13px; color: var(--cyan); }
.prof-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.prof-card__body b { font-size: 16px; line-height: 1.25; padding-right: 30px; }
.prof-card__role { font-size: 13px; color: var(--muted); line-height: 1.35; }
.prof-card__area { margin-top: auto; padding-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.prof-card__go { position: absolute; right: 12px; bottom: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); transition: background .15s, color .15s; }
.prof-card__go svg { width: 16px; height: 16px; }
.prof-card:hover .prof-card__go { background: var(--blue); color: #fff; }

/* Perfil */
.profile { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.profile__photo { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: #dfe3ee; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile__photo .skeleton--cover { height: 100%; aspect-ratio: auto; }
.profile__info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.profile__name { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.015em; }
.profile__role { font-size: 18px; color: var(--muted); }
.profile__facts { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0; }
.profile__facts div { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: var(--bg); }
.profile__facts b { font-size: 24px; font-weight: 900; color: var(--blue); display: grid; place-items: center; }
.profile__facts b svg { width: 22px; height: 22px; }
.profile__facts span { font-size: 13px; color: var(--muted); line-height: 1.3; max-width: 120px; }
.profile__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.profile__actions svg { width: 18px; height: 18px; }

.profile-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.profile-grid[hidden] { display: none; }
.bio { font-size: 16px; line-height: 1.7; color: #1f2747; }
.bio p + p { margin-top: .9em; }
.bio__empty { color: var(--muted); }
.bio__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bio__list li { display: flex; gap: 10px; align-items: flex-start; }
.bio__list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }
.prof-courses { display: flex; flex-direction: column; gap: 10px; }
.prof-course { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.prof-course:hover { border-color: #c5cdea; background: var(--bg); }
.prof-course img, .prof-course__ph { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.prof-course__ph { display: grid; place-items: center; color: var(--cyan); background: linear-gradient(160deg, var(--blue), var(--navy)); }
.prof-course b { font-size: 15px; line-height: 1.3; }
.prof-course__go { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.prof-course__go svg { width: 16px; height: 16px; }
.prof-course:hover .prof-course__go { background: var(--blue); color: #fff; }

@media (max-width: 1280px) {
  .prof-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .prof-hero { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .prof-hero { padding: 22px; }
  .hstat b { font-size: 22px; }
  .list-tools { width: 100%; }
  .list-tools .sort { flex: 1; }
  .list-tools select { width: 100%; max-width: none; }
  .prof-grid, .prof-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prof-card__body { padding: 12px; }
  .prof-card__body b { font-size: 14px; padding-right: 0; }
  .prof-card__role { font-size: 12px; }
  .prof-card__go { display: none; }
  .profile { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .profile__photo { aspect-ratio: 4 / 3.6; }
  .profile__actions .btn { flex: 1; }
}

/* ================= Cursos (catálogo) ================= */
.promo--slim { grid-template-columns: 1fr auto; padding: 18px 22px; }
.promo--slim h2 { font-size: clamp(18px, 1.8vw, 22px); }

.catalog { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 48px); overflow-y: auto; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filters__head b { font-size: 16px; }
.filters__reset { font-size: 13px; font-weight: 700; color: var(--blue); }
.filters__reset:hover { text-decoration: underline; }
.icon-btn.filters__close { display: none; }
.filters__foot { display: none; }
.fgroup { padding: 14px 0 10px; border-bottom: 1px solid var(--line); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9aa2bd; margin-bottom: 8px; }
.checks-list { display: flex; flex-direction: column; gap: 2px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; cursor: pointer; font-size: 14px; color: var(--text); }
.fcheck:hover { background: var(--bg); }
.fcheck input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid #c5cdea; border-radius: 6px; background: #fff; display: grid; place-items: center; flex-shrink: 0; cursor: pointer; transition: background .15s, border-color .15s; }
.fcheck input[type="radio"] { border-radius: 50%; }
.fcheck input:checked { background: var(--blue); border-color: var(--blue); }
.fcheck input[type="checkbox"]:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.fcheck input[type="radio"]:checked::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.fcheck input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.fcheck span { flex: 1; }
.fcheck em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--bg); padding: 1px 8px; border-radius: 99px; }
.filters-scrim { display: none; }

.results { padding-top: 10px; }
.tabs--flush { margin-bottom: 0; }
.results__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 0 18px; }
.results__count { font-size: 14px; color: var(--muted); }
.results__count b { color: var(--text); }
.results__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.filters-toggle { display: none; height: 40px; padding: 0 14px; }
.filters-toggle__n { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--blue); color: #fff; font-size: 12px; }
.filters-toggle__n[hidden] { display: none; }
.active-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.afilter { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 12px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 700; }
.afilter svg { width: 14px; height: 14px; }
.afilter:hover { background: #dce3fd; }
.view-toggle { display: flex; padding: 3px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.view-toggle button { width: 34px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); }
.view-toggle button svg { width: 17px; height: 17px; }
.view-toggle button.is-active { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(11,20,55,.12); }

.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 16px; }
.ccard { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ccard:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -20px rgba(11,20,55,.35); border-color: #d3daf2; }
.ccard__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--blue-soft); }
.ccard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ccard:hover .ccard__media img { transform: scale(1.03); }
.ccard__save { z-index: 2; }
.ccard__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.ccard__eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.ccard__eyebrow span:last-child:not(:first-child) { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; }
.ccard__eyebrow svg { width: 14px; height: 14px; }
.ccard__title { font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.25; }
.ccard__title a:hover { color: var(--blue); }
.ccard__sub { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__inc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ccard__inc li { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 99px; background: var(--bg); font-size: 12px; font-weight: 500; color: var(--text); }
.ccard__inc svg { width: 13px; height: 13px; color: var(--blue); stroke-width: 2.6; }
.ccard__teachers { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.faces { display: flex; }
.faces img, .faces span { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; margin-right: -8px; background: #dfe3ee; }
.faces span { display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--navy); color: #fff; }
.faces + span { margin-left: 8px; }
.ccard__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { display: flex; flex-direction: column; gap: 1px; }
.price__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price__from { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.price__from em { font-style: normal; font-weight: 800; font-size: 11px; color: #067647; background: #dcfae6; padding: 1px 6px; border-radius: 6px; }
.price__now { font-size: 24px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; color: var(--text); }
.price__inst { font-size: 12px; color: var(--muted); }
.ccard__cta { height: 42px; padding: 0 16px; box-shadow: none; }

/* lista */
.courses-grid.is-list { grid-template-columns: 1fr; gap: 14px; }
.is-list .ccard { flex-direction: row; }
.is-list .ccard__media { width: 220px; flex-shrink: 0; aspect-ratio: auto; }
.is-list .ccard__body { padding: 18px 20px; }
.is-list .ccard__save { left: 172px; right: auto; }
.is-list .ccard__sub { -webkit-line-clamp: 2; max-width: 70ch; }

.guarantees .benefits li > span { background: var(--blue-soft); color: var(--blue); }

@media (max-width: 1280px) {
  .catalog { grid-template-columns: 230px minmax(0, 1fr); }
}
@media (max-width: 1080px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; top: auto; max-height: 82vh; border-radius: 24px 24px 0 0; transform: translateY(105%); transition: transform .28s ease; box-shadow: 0 -20px 40px rgba(11,20,55,.2); padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  body.filters-open .filters { transform: none; }
  .filters-scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(11,20,55,.4); opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.filters-open .filters-scrim { opacity: 1; pointer-events: auto; }
  .icon-btn.filters__close { display: grid; width: 40px; height: 40px; }
  .filters__reset { margin-left: auto; margin-right: 8px; }
  .filters__foot { display: block; position: sticky; bottom: -20px; padding: 12px 0 0; background: #fff; }
  .filters__foot .btn { width: 100%; }
  .filters-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .promo--slim { grid-template-columns: 1fr; }
  .results__tools { width: 100%; margin-left: 0; }
  .results__tools .sort { flex: 1; }
  .results__tools .sort select { width: 100%; }
  .view-toggle { display: none; }
  .results__count { margin-left: auto; }
  .courses-grid { grid-template-columns: 1fr; }
  .ccard__media { aspect-ratio: 4 / 3; }
  .ccard__media img { object-position: center 40%; }
}

/* ================= Política de privacidade ================= */
.legal-hero { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 32px; border-radius: var(--radius-xl); color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1f47f0 0%, var(--blue) 40%, var(--navy) 100%); }
.legal-hero::after { content: ""; position: absolute; right: -100px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(0,205,245,.4), transparent 65%); z-index: -1; }
.legal-hero__text { display: flex; flex-direction: column; gap: 14px; }
.legal-hero h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; }
.legal-hero h2 em { font-style: normal; color: var(--cyan); }
.legal-hero p { color: rgba(255,255,255,.8); max-width: 56ch; }
.legal-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: rgba(255,255,255,.75); }
.legal-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.legal-hero__meta svg { width: 15px; height: 15px; color: var(--cyan); }
.legal-hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legal-hero__points li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.legal-hero__points li > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--navy); flex-shrink: 0; }
.legal-hero__points svg { width: 15px; height: 15px; stroke-width: 3; }
.legal-hero__points b { display: block; font-size: 15px; }
.legal-hero__points p { font-size: 13px; color: rgba(255,255,255,.75); overflow-wrap: anywhere; }

.legal .prose { max-width: 760px; }
.legal__intro { font-size: 19px; line-height: 1.7; color: var(--text); padding-bottom: 8px; }
.legal .prose h2 { display: flex; align-items: center; gap: 12px; font-size: 25px; padding-top: 1.4em; border-top: 1px solid var(--line); margin-top: 1.4em; }
.legal__n { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-family: var(--sans); font-size: 15px; font-weight: 800; }
.rights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.right { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--bg); }
.right > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--blue); margin-bottom: 6px; box-shadow: 0 1px 2px rgba(11,20,55,.06); }
.right svg { width: 17px; height: 17px; }
.right b { font-size: 16px; line-height: 1.3; }
.prose .right p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.legal__foot { font-weight: 500; font-size: 13px; color: var(--muted); }
.legal__foot .btn svg { width: 18px; height: 18px; }
.toc a span { display: inline-block; min-width: 18px; font-weight: 800; color: #9aa2bd; }
.toc a.is-active span { color: var(--blue); }
.privacy-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px; }
.privacy-cta b { font-size: 16px; margin-top: 4px; }
.privacy-cta p { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.privacy-cta .btn { width: 100%; height: 44px; }
.privacy-cta .btn svg { width: 17px; height: 17px; }

@media (max-width: 1080px) {
  .legal-hero { grid-template-columns: 1fr; }
  .post-side .privacy-cta { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .legal-hero { padding: 22px; }
  .legal__intro { font-size: 17px; }
  .legal .prose h2 { font-size: 21px; }
  .rights { grid-template-columns: 1fr; }
  .legal__foot .btn { width: 100%; }
}

@media print {
  .sidebar, .scrim, .topbar, .tabbar, .post-side, .legal-hero, .footer, .read-progress, .toast, #printBtn { display: none !important; }
  .app { display: block; }
  .main { padding: 0; }
  body { background: #fff; }
  .post { border: 0; box-shadow: none; padding: 0; }
  .prose { max-width: none; font-size: 12pt; }
  .legal::before { content: "Política de Privacidade — Sensu Jurídico · Última atualização: 14/12/2024"; display: block; font: 600 20pt var(--serif); margin-bottom: 16pt; }
}

/* ================= Página do curso ================= */
.course-hero { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.course-hero__cover { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--blue-soft); }
.course-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.course-hero__cover .skeleton--cover { height: 100%; aspect-ratio: auto; }
.course-hero__info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.course-hero__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag--new { background: var(--cyan); color: var(--navy); }
.tag--ok { gap: 6px; background: #dcfae6; color: #067647; }
.tag--ok i { width: 7px; height: 7px; border-radius: 50%; background: #17b26a; }
.course-hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -.015em; }
.course-hero__sub { font-size: 17px; color: var(--muted); max-width: 62ch; }
.course-hero__badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; font-weight: 500; }
.course-hero__badges li { display: inline-flex; align-items: center; gap: 6px; }
.course-hero__badges svg { width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }
.course-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; }
.course-hero__facts div { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 14px; background: var(--bg); min-width: 96px; }
.course-hero__facts b { font-size: 20px; font-weight: 900; line-height: 1.15; color: var(--blue); }
.course-hero__facts span { font-size: 12px; color: var(--muted); }
.course-hero__teachers { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.course-hero__teachers:hover { color: var(--blue); }
.course-hero__teachers .faces img, .course-hero__teachers .faces span { width: 34px; height: 34px; }

.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.course-layout[hidden] { display: none; }
.course-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.course-main > .panel { scroll-margin-top: 84px; }
.course-main .section-title { margin-bottom: 16px; }
.course-main .panel__head .section-title { margin-bottom: 0; }

.subnav { position: sticky; top: 12px; z-index: 20; display: flex; gap: 4px; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { padding: 9px 14px; border-radius: 11px; font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.subnav a:hover { color: var(--text); background: var(--bg); }
.subnav a.is-active { background: var(--navy); color: #fff; }

.prose--course { max-width: none; font-size: 16px; line-height: 1.7; margin: 0; }
.prose--course h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.prose--course p strong:first-child { color: var(--text); }
.collapsible { position: relative; }
.collapsible.is-collapsed { max-height: 560px; overflow: hidden; }
.collapsible.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 85%); pointer-events: none; }
.read-more { margin-top: 14px; }
.read-more[hidden] { display: none; }

.incl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.incl { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; border: 1px solid var(--line); }
.incl > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.incl b { display: block; font-size: 15px; line-height: 1.3; margin-top: 2px; }
.incl p { font-size: 13px; color: var(--muted); margin-top: 2px; }

.prof-grid--course { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.prof-grid--course .prof-card__media { aspect-ratio: 1; }
.prof-grid--course .prof-card__body { padding-bottom: 14px; }

.specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.specs div { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9aa2bd; }
.specs dd { margin: 0; font-size: 15px; font-weight: 500; }

/* Card de compra */
.buy { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 12px; }
.buy__card { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(11,20,55,.35); }
.buy__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #067647; }
.buy__status i { width: 8px; height: 8px; border-radius: 50%; background: #17b26a; box-shadow: 0 0 0 4px #dcfae6; }
.plans { display: flex; flex-direction: column; gap: 8px; }
.plans__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9aa2bd; }
.plans__single { font-weight: 700; font-size: 15px; }
.plan { position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; }
.plan__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 12px 42px; border-radius: 14px; border: 1.5px solid var(--line); transition: border-color .15s, background .15s; }
.plan__body::before { content: ""; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c5cdea; background: #fff; transition: all .15s; }
.plan:hover .plan__body { border-color: #c5cdea; }
.plan input:checked + .plan__body { border-color: var(--blue); background: var(--blue-soft); }
.plan input:checked + .plan__body::before { border: 5px solid var(--blue); }
.plan input:focus-visible + .plan__body { outline: 2px solid var(--blue); outline-offset: 2px; }
.plan__name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.plan__price { font-size: 13px; color: var(--muted); }
.plan__price b { color: var(--text); font-size: 15px; }
.buy__price { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.buy__from { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.buy__from em { font-style: normal; font-weight: 800; font-size: 12px; color: #067647; background: #dcfae6; padding: 2px 8px; border-radius: 6px; }
.buy__from em:empty { display: none; }
.buy__price > b { font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.buy__inst { font-size: 13px; color: var(--muted); }
.buy__btn { height: 54px; font-size: 16px; }
.buy__coupon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1.5px dashed #b9c4ef; background: #f7f9ff; font-size: 13px; color: var(--text); text-align: left; transition: border-color .15s, background .15s; }
.buy__coupon > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.buy__coupon svg { width: 16px; height: 16px; color: var(--blue); }
.buy__coupon-action { font-weight: 700; color: var(--blue); white-space: nowrap; }
.buy__coupon:hover, .buy__coupon.is-copied { border-color: var(--blue); background: var(--blue-soft); }
.buy__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.buy__trust li { display: flex; gap: 8px; align-items: flex-start; }
.buy__trust svg { width: 16px; height: 16px; color: #17b26a; stroke-width: 3; flex-shrink: 0; margin-top: 1px; }
.buy__trust b { color: var(--text); }

.related-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rcourse { display: grid; grid-template-columns: 88px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 18px; border: 1px solid var(--line); transition: border-color .15s, transform .2s; }
.rcourse:hover { border-color: #c5cdea; transform: translateY(-2px); }
.rcourse img { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
.rcourse div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rcourse__career { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.rcourse b { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rcourse__price { font-size: 13px; color: var(--muted); }
.rcourse__price strong { color: var(--text); }

.buybar { display: none; }

@media (max-width: 1280px) {
  .course-hero { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
  .course-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .incl-grid, .specs { grid-template-columns: 1fr; }
  .related-courses { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .course-layout { grid-template-columns: 1fr; }
  .buy { position: static; order: -1; }
  .course-main { order: 1; }
  .related-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .course-hero { grid-template-columns: 1fr; padding: 14px; gap: 16px; }
  .course-hero__cover { aspect-ratio: 4 / 3; }
  .course-hero__cover img { object-position: center 40%; }
  .course-hero__sub { font-size: 15px; }
  .course-hero__facts div { flex: 1; min-width: 0; }
  .subnav { display: none; }
  .course-main > .panel, .buy { scroll-margin-top: 130px; }
  .buy__card { padding: 18px; }
  .related-courses { grid-template-columns: 1fr; }
  .prof-grid--course { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="curso"] .tabbar { display: none; }
  body[data-page="curso"] .main { padding-bottom: 110px; }
  .buybar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; padding: 10px 10px 10px 18px; border-radius: 20px; background: var(--navy); color: #fff; box-shadow: 0 12px 30px rgba(11,20,55,.35); transform: translateY(140%); transition: transform .25s ease; }
  .buybar[hidden] { display: none; }
  .buybar.is-visible { transform: none; }
  .buybar div { display: flex; flex-direction: column; min-width: 0; }
  .buybar__label { font-size: 11px; color: rgba(255,255,255,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar b { font-size: 20px; font-weight: 900; }
  .buybar .btn { height: 46px; box-shadow: none; background: var(--cyan); color: var(--navy); }
}

/* ================= Página 404 ================= */
.nf { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 40px; border-radius: var(--radius-xl); color: #fff; background: radial-gradient(120% 140% at 0% 0%, #1f47f0 0%, var(--blue) 40%, var(--navy) 100%); }
.nf::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0,205,245,.45), transparent 65%); z-index: -1; }
.nf__text { display: flex; flex-direction: column; gap: 14px; }
.nf h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.015em; }
.nf h1 em { font-style: normal; color: var(--cyan); }
.nf p { color: rgba(255,255,255,.8); max-width: 52ch; }
.nf__search { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 6px 6px 6px 16px; border-radius: 16px; background: #fff; color: var(--muted); margin-top: 6px; }
.nf__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--text); height: 44px; }
.nf__search .btn { height: 44px; background: var(--blue); color: #fff; }
.nf__search .btn:hover { background: var(--blue-600); }
.nf__path { font-size: 13px; }
.nf__path code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.12); color: #fff; word-break: break-all; }
.nf__art { position: relative; display: grid; place-items: center; min-height: 220px; }
.nf__code { font-family: var(--serif); font-weight: 700; font-size: clamp(96px, 13vw, 180px); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.55); }
.nf__scale { position: absolute; width: 88px; height: 88px; color: var(--cyan); stroke-width: 1.2; animation: sway 4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

.nf-suggest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nf-sug { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.nf-sug:hover { border-color: #c5cdea; background: var(--bg); }
.nf-sug__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.nf-sug__kind { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.nf-sug b { font-size: 15px; line-height: 1.3; }
.nf-sug__go { color: var(--blue); }

.nf-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.nf-link { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.nf-link:hover { transform: translateY(-3px); border-color: #c5cdea; }
.nf-link > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue); color: #fff; margin-bottom: 6px; }
.nf-link:nth-child(4) > span { background: var(--cyan); color: var(--navy); }
.nf-link b { font-size: 16px; }
.nf-link p { font-size: 13px; color: var(--muted); }

@media (max-width: 1280px) {
  .nf-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .nf { grid-template-columns: 1fr; }
  .nf__art { display: none; }
  .nf-suggest { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nf { padding: 24px; }
  .nf-links { grid-template-columns: 1fr 1fr; }
  .nf__search .btn { padding: 0 14px; }
}

/* ================= Página /links/ (bio) ================= */
.bio-body { min-height: 100vh; background: radial-gradient(120% 60% at 50% 0%, #1f47f0 0%, var(--blue) 30%, var(--navy) 75%); background-attachment: fixed; }
.bio { width: 100%; max-width: 520px; margin: 0 auto; padding: 40px 16px 32px; display: flex; flex-direction: column; gap: 26px; }
.bio__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: #fff; }
.bio__avatar { width: 96px; height: 96px; border-radius: 50%; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.bio__name { font-family: var(--serif); font-weight: 600; font-size: 24px; margin-top: 6px; }
.bio__tag { color: rgba(255,255,255,.8); font-size: 15px; }
.bio__social { display: flex; gap: 10px; margin-top: 6px; }
.bio__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .15s, transform .15s; }
.bio__social a:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.bio__social svg { width: 19px; height: 19px; }
.bio__section { display: flex; flex-direction: column; gap: 10px; }
.bio__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); padding-left: 4px; }
.bio__courses, .bio__links { display: flex; flex-direction: column; gap: 10px; }
.bio-course { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); transition: transform .15s; }
.bio-course:hover { transform: translateY(-2px); }
.bio-course img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.bio-course b { display: block; font-size: 15px; line-height: 1.3; }
.bio-course__price { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.bio-course__go { color: var(--blue); }
.bio-link { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; backdrop-filter: blur(6px); transition: background .15s, transform .15s; }
.bio-link:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.bio-link span { flex: 1; }
.bio-link svg { width: 19px; height: 19px; }
.bio-link__go { opacity: .7; }
.bio-link--primary { background: #fff; color: var(--blue); border-color: #fff; }
.bio-link--primary:hover { background: #f0f4ff; }
.bio-link--cyan { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.bio-link--cyan:hover { background: #33d9f8; }
.bio__foot { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 8px; color: rgba(255,255,255,.65); font-size: 12px; }
.bio__foot img { width: 120px; height: auto; filter: brightness(0) invert(1); opacity: .9; }
.bio__foot a:hover { color: #fff; }

/* ================= Responsive ================= */
@media (max-width: 1280px) {
  .grid-hero { grid-template-columns: 1fr; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .stats__note { display: none; }
  .promo { grid-template-columns: 1fr auto; }
  .promo__timer { grid-column: 1; grid-row: 2; }
  .coupon { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 1080px) {
  :root { --sidebar: 0px; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 290px; z-index: 50; transform: translateX(-100%); transition: transform .25s ease; box-shadow: 20px 0 40px rgba(11,20,55,.15); }
  .icon-btn.sidebar__close { display: grid; }
  body.menu-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(11,20,55,.4); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.menu-open .scrim { opacity: 1; pointer-events: auto; }
  .icon-btn.topbar__menu { display: grid; }
  .carousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .grid-2, .grid-content { grid-template-columns: 1fr; }
  .carousel__nav--prev { left: -8px; }
  .carousel__nav--next { right: -8px; }
}

@media (max-width: 760px) {
  .main { padding: 12px 16px 96px; gap: 16px; }
  .topbar { flex-wrap: wrap; position: sticky; top: 0; z-index: 30; margin: -12px -16px 0; padding: 10px 16px; background: rgba(243,245,252,.88); backdrop-filter: blur(10px); }
  .topbar__logo { display: block; margin-right: auto; }
  .topbar__logo img { width: 130px; height: auto; }
  .topbar__title, .topbar__cta { display: none; }
  .topbar__menu { order: 3; }
  .topbar__bell { order: 2; width: 44px; height: 44px; }
  .search { order: 4; width: 100%; height: 44px; }
  .search kbd { display: none; }
  .promo { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .promo__timer, .coupon { grid-column: auto; grid-row: auto; }
  .promo__timer div { flex: 1; width: auto; }
  .coupon { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding: 18px; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; object-position: center 85%; }
  .hero__actions .btn { flex: 1; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .stat__icon { width: 36px; height: 36px; border-radius: 10px; }
  .stat b { font-size: 20px; }
  .stat div span { font-size: 12px; }
  .panel { padding: 18px; border-radius: 22px; }
  .panel__head { flex-direction: column; align-items: flex-start; }
  .carousel__track { grid-auto-columns: 84%; gap: 14px; }
  .carousel__nav { display: none; }
  .profs { grid-auto-columns: 150px; }
  .platform { grid-template-columns: 1fr; padding: 22px 0 0 22px; }
  .platform__text { padding-right: 22px; }
  .article { grid-template-columns: 92px 1fr; gap: 12px; padding: 6px; }
  .article__thumb { width: 92px; height: 72px; }
  .quotes { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .quote { scroll-snap-align: start; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; padding: 6px; border-radius: 20px; background: var(--navy); box-shadow: 0 12px 30px rgba(11,20,55,.35); padding-bottom: calc(6px + env(safe-area-inset-bottom) / 2); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.6); border-radius: 14px; }
  .tabbar a.is-active { color: #fff; background: rgba(255,255,255,.1); }
  .tabbar a.is-active svg { color: var(--cyan); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
