/* UNIATEC: tokens da marca sobre o kit (start.mjs brand: --bg #FFFFFF --ink #0F1F5C --accent #1E3A9E
   --surface #F4F6FB --muted #4A5B6E). Fontes da marca no lugar do par sorteado (exceção pedida pelo dono). */
:root {
  --p-bg: #ffffff; --p-surface: #f4f6fb; --p-ink: #0f1f5c; --p-muted: #4a5b6e;
  --p-accent: #1e3a9e; --p-accent-ink: #ffffff; --p-action: #1e3a9e; --p-action-ink: #ffffff;
  --p-inv-bg: #0f1f5c; --p-inv-surface: #1c2e67; --p-inv-ink: #ffffff; --p-inv-muted: #b8c4d3;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #0f1f5c; --p-inv-action: #ffffff; --p-inv-action-ink: #0f1f5c;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Barlow", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.01em;
  --display-tracking-xl: -0.015em;
  /* Dourado da marca: só em fundo marinho (contraste 6,5:1), nunca em texto sobre branco. */
  --gold: #c9a227;
}

/* Logo do cliente no centro da barra (nav-split). */
.nav .nav__logo .nav__brand { height: 44px; width: auto; max-width: none; display: block; }
@media (max-width: 639px) { .nav .nav__logo .nav__brand { height: 34px; } }

/* ---------- Hero: carrossel aprovado dentro da moldura do split ---------- */
.hero { position: relative; }
.car { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: var(--p-inv-bg); }
.car__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.car__slide.is-on { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.car__img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform 6s ease; }
.car__slide.is-on .car__img { transform: scale(1.04); }
.car__words {
  position: absolute; top: var(--s-5); left: var(--s-5); display: grid; gap: var(--s-2);
  background: var(--p-inv-bg); color: #fff; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); max-width: calc(100% - 2 * var(--s-5) - 160px);
}
.car__eixo { font-size: 13px; font-weight: 500; color: var(--gold); }
.car__nome { color: #fff; font: var(--display-weight) 26px/1.1 var(--font-display); text-decoration: none; }
.car__nome:hover { text-decoration: underline; text-underline-offset: 4px; }
.car__ctrl { position: absolute; top: var(--s-5); right: var(--s-5); display: flex; gap: var(--s-2); }
.car__btn {
  width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.94); color: var(--p-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.car__dots { position: absolute; right: var(--s-5); bottom: var(--s-5); display: flex; gap: 2px; }
.car__dot { width: 28px; height: 44px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.car__dot span { display: block; height: 6px; width: 8px; border-radius: 999px; background: rgba(255,255,255,.75); transition: width .3s ease; box-shadow: 0 0 0 1px rgba(15,31,92,.35); }
.car__dot[aria-current="true"] span { width: 24px; background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .car__slide, .car__img, .car__dot span { transition: none !important; } .car__slide.is-on .car__img { transform: none; } }

/* Cartão de preço sobre a foto (ly-float do hero split): o valor à vista sempre em destaque. */
.preco-float { z-index: 2; min-width: 300px; }
.preco-float__valor { font: 700 clamp(32px, 1.2vw + 26px, 44px)/1 var(--font-display); color: var(--p-accent); letter-spacing: -0.01em; }
.preco-float__link { justify-self: start; font-size: 14px; margin-top: var(--s-1); }
@media (max-width: 639px) {
  .car__words { display: none; }
  .preco-float { min-width: 0; left: var(--s-3); right: auto; bottom: var(--s-3); max-width: calc(100% - 2 * var(--s-3)); padding: var(--s-3) var(--s-4); }
  .preco-float .ly-float__row:last-of-type { display: none; }
  .car__dots { display: none; }
}

/* ---------- Letreiro aprovado: faixa no pé do hero ---------- */
/* No topo da barra fixa, como no design aprovado: a barra cresce 40px e o topo das seções acompanha. */
/* ---------- Cabeçalho (redesenho de 17/11/2026, estilo da Início nova) ----------
   Letreiro de ponta a ponta no alto; logo à esquerda; menu numa cápsula no centro; botão dourado.
   Depois de rolar, o letreiro recolhe e a barra fica translúcida (vidro). */
@media (min-width: 640px) { :root { --nav: 112px; --padt: 160px; } }
.nav.topo {
  display: flex; flex-direction: column; height: auto; min-height: var(--nav);
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(15, 31, 92, .06);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.nav.topo.is-rolado {
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: 0 12px 32px -20px rgba(15, 31, 92, .4);
}
.nav.topo > .nav__ticker { flex: none; max-height: 36px; overflow: hidden; transition: max-height .35s ease, opacity .25s ease; }
.nav.topo.is-rolado > .nav__ticker { max-height: 0; opacity: 0; }
.nav.topo > .nav__bar { height: 76px; flex: none; gap: var(--s-6); }
.nav.topo .nav__logo .nav__brand { height: 52px; }
@media (max-width: 639px) {
  .nav__ticker { display: none; }
  .nav.topo > .nav__bar { height: 56px; }
  .nav.topo .nav__logo .nav__brand { height: 38px; }
}

/* letreiro */
.tk {
  height: 36px; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(90deg, #0b1747, var(--p-inv-bg) 30%, #1a2f7f 70%, #0b1747); color: #fff;
  box-shadow: inset 0 -2px 0 var(--gold);
}
.tk__janela { flex: 1; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk__trilho { display: inline-flex; width: max-content; animation: tkMove 50s linear infinite; }
.tk:hover .tk__trilho, .tk.is-paused .tk__trilho { animation-play-state: paused; }
.tk__grupo { display: inline-flex; align-items: center; }
.tk__item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-size: 13.5px; font-weight: 500; color: #e7ecf7; letter-spacing: .01em; }
.tk__item b { color: var(--gold); font-weight: 600; }
.tk__sep { color: var(--gold); font-size: 8px; opacity: .8; }
.tk__pausa { flex: none; width: 44px; height: 36px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s; }
.tk__pausa:hover { background: rgba(255, 255, 255, .16); }
.tk__pausa:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }

/* menu em cápsula (computador) */
@media (min-width: 1024px) {
  .nav.topo .nav__links {
    flex: 0 1 auto; margin-inline: auto; align-self: center; gap: 2px; padding: 5px;
    border-radius: 999px; background: #f4f6fb; border: 1px solid #e3e8ef;
  }
  .nav.topo .nav__item { height: auto; }
  .nav.topo .nav__link { height: 40px; padding: 0 16px; border-radius: 999px; color: var(--p-ink); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
  .nav.topo .nav__link::before, .nav.topo .nav__link[aria-current="page"]::after { display: none; }
  .nav.topo .nav__link:hover, .nav.topo .nav__item:hover > .nav__link, .nav.topo .nav__item:focus-within > .nav__link {
    background: #fff; box-shadow: 0 2px 10px -4px rgba(15, 31, 92, .3);
  }
  .nav.topo .nav__link[aria-current="page"] { background: var(--p-ink); color: #fff; box-shadow: none; }
  .nav.topo .nav__menu { border-radius: 0 0 32px 32px; border-top: 1px solid #e3e8ef; box-shadow: 0 40px 60px -40px rgba(15, 31, 92, .45); }
  .nav.topo .nav__menu .menu-card .panel { border-radius: 18px; overflow: hidden; }
  /* submenu: abre com o mouse (sem a espera do kit) ou com clique (.is-aberto); o foco sozinho não prende aberto */
  .nav.topo .nav__item:hover > .nav__menu { transition-delay: 60ms, 60ms, 60ms; }
  .nav.topo .nav__item:focus-within:not(.is-aberto):not(:hover) > .nav__menu { opacity: 0; visibility: hidden; transform: translateY(-6px); }
  .nav.topo .nav__item.is-aberto > .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav.topo .nav__item.nao-abrir > .nav__menu { opacity: 0 !important; visibility: hidden !important; }
  .nav.topo .nav__item.is-aberto > .nav__link .chev { transform: rotate(180deg); }
  .nav.topo .nav__item.is-aberto > .nav__link { background: #fff; box-shadow: 0 2px 10px -4px rgba(15, 31, 92, .3); }
  .nav.topo .nav__item.is-aberto > .nav__link[aria-current="page"] { background: var(--p-ink); }
  /* ponte invisível entre "Cursos" e o painel: o mouse desce sem o painel fechar */
  .nav.topo .nav__item:has(> .nav__menu) > .nav__link::after {
    display: block !important; content: ''; position: absolute; left: -8px; right: -8px; top: 100%; bottom: auto; height: 28px; background: none;
  }
  /* painel mais compacto: fotos mais baixas, menos espaço em volta */
  .nav.topo .nav__menu { padding: 24px 0 28px; }
  .nav.topo .nav__menu .menu-card .panel { --ratio: 42%; }
  .nav.topo .nav__link .chev { opacity: .8; }

  /* submenu Cursos: Técnico, Técnico por Competência, Pós-graduação */
  .menu-tipo { padding: 12px; margin: -12px; border-radius: 26px; transition: background-color .25s ease; }
  .menu-tipo:hover { background: #f4f6fb; text-decoration: none; }
  .menu-tipo .panel img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
  .menu-tipo:hover .panel img { transform: scale(1.05); }
  .menu-tipo .t-card { font: 700 24px/1.1 var(--font-display); color: var(--p-ink); }
  .menu-tipo__ir { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--p-accent); }
  .menu-tipo__seta { transition: transform .25s ease; }
  .menu-tipo:hover .menu-tipo__seta { transform: translateX(4px); }
}
@media (max-width: 1023px) { .menu-tipo__ir { display: none; } }
@media (min-width: 1024px) and (max-width: 1179px) {
  .nav.topo .nav__link { padding: 0 11px; font-size: 14.5px; }
  .nav.topo > .nav__bar { gap: var(--s-4); }
}

/* botão de matrícula */
.nav.topo .topo-cta {
  gap: 8px; border-radius: 999px; padding-inline: 22px; background: var(--gold); border-color: var(--gold); color: var(--p-ink);
  box-shadow: 0 10px 24px -12px rgba(201, 162, 39, .9); transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.nav.topo .topo-cta:hover { background: #d8b03a; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(201, 162, 39, 1); }
.nav.topo .topo-cta svg { transition: transform .25s ease; }
.nav.topo .topo-cta:hover svg { transform: translateX(3px); }

/* celular e tablet: botão do menu redondo; a folha do menu começa sob a barra recolhida */
@media (max-width: 1023px) {
  .nav.topo .nav__toggle { border-radius: 999px; border-color: #e3e8ef; background: #f4f6fb; }
  .nav.topo.is-rolado.is-open .nav__links { top: 76px; }
}
@media (max-width: 639px) { .nav.topo.is-open .nav__links { top: 56px; } }
@keyframes tkMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk__trilho { animation: none; } }
@media (max-width: 639px) { .tk { display: none; } }

/* ---------- Logo no rodapé (versão para fundo escuro) ---------- */
.footer__logo { display: inline-block; }
.footer__logo img { display: block; height: 72px; width: auto; }
@media (max-width: 639px) { .footer__logo img { height: 56px; } }

/* ---------- Fechamento com foto (página do consultor) ---------- */
.closing__cta.closing__cta--foto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.closing__texto { display: flex; flex-direction: column; gap: var(--s-6); align-items: flex-start; }
.closing__foto { position: relative; margin: 0; width: 100%; height: clamp(220px, 36vh, 330px); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
.closing__foto::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -4px 0 var(--gold); pointer-events: none; }
.closing__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.closing__foto:hover img { transform: scale(1.04); }
@media (max-width: 1023px) {
  .closing__cta.closing__cta--foto { grid-template-columns: 1fr; }
  .closing__foto { height: auto; aspect-ratio: 16 / 10; max-width: 560px; }
}

/* ---------- Cartões de curso (um estilo para o site todo) ---------- */
.card.curso-card { display: flex; flex-direction: column; gap: var(--s-2); padding: 0 0 var(--s-5); overflow: hidden; text-decoration: none; color: var(--ink); }
.card.curso-card > .panel.curso-card__foto { margin: 0 0 var(--s-3); height: auto; aspect-ratio: 16 / 10; border-radius: 0; padding: 0; }
.card.curso-card > .panel.curso-card__foto { flex: none; }
.curso-card__foto > img { width: 100%; height: 100%; object-fit: cover; }
#cursos .card.curso-card > .panel.curso-card__foto { aspect-ratio: 4 / 3; }
/* Tablet: três cartões por linha; celular: dois, compactos (a seção cabe nas suas telas). */
@media (min-width: 640px) and (max-width: 1023px) {
  .grid > .card.curso-card { grid-column: span 4; }
  #cursos .card.curso-card > .panel.curso-card__foto { aspect-ratio: 1 / 1; }
  .card.curso-card > .curso-card__nome { font-size: 17px; }
  #certificado .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #certificado .grid > * { grid-column: auto; }
  .preco__foto { aspect-ratio: 2 / 1 !important; }
  .matricula__foto { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  main .grid > .card.curso-card.span-4:has(> .panel) { grid-column: auto / span 4 !important; }
  #cursos .card.curso-card > .panel.curso-card__foto { aspect-ratio: 16 / 9; }
  #cursos .curso-card__eixo, #cursos .curso-card__preco .muted { display: none; }
  #cursos .card.curso-card { padding-bottom: var(--s-3); }
}
@media (min-width: 640px) and (max-width: 1023px) and (min-height: 1100px) {
  .matricula__foto { display: block; aspect-ratio: 3 / 1 !important; }
}
@media (max-width: 639px) {
  /* Os seis destaques correm 2 a 2 numa grade só (os dois grupos do desktop somem do layout). */
  #cursos > .wrap { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  #cursos > .wrap > .group, #cursos > .wrap > .group > .grid, #cursos > .wrap > .grid { display: contents; }
  #cursos .section-head { grid-column: 1 / -1; margin-bottom: var(--s-5); }
  #cursos .card.curso-card { grid-column: auto !important; }
  .card.curso-card > .panel.curso-card__foto { min-height: 0; max-height: none; height: auto; }
  .grid > .card.curso-card { grid-column: span 6; padding-bottom: var(--s-4); }
  .card.curso-card > :not(.panel) { margin-inline: var(--s-3); }
  #cursos .card.curso-card > .panel.curso-card__foto { aspect-ratio: 1 / 1; }
  .card.curso-card > .curso-card__nome { font-size: 16px; }
  .curso-card__eixo { font-size: 13px; }
  .curso-card__preco .muted { display: none; }
  .curso-card__preco strong { font-size: 20px; }
}
.card.curso-card > :not(.panel) { margin-inline: var(--s-5); }
.curso-card__eixo { font-size: 13px; font-weight: 500; color: var(--muted); }
.card.curso-card > .curso-card__nome { font: 500 var(--t-card)/1.25 var(--font-text); margin-top: 0; margin-bottom: 0; }
.curso-card__preco { margin-top: auto; padding-top: var(--s-2); font-size: 14px; color: var(--ink); display: grid; gap: 2px; }
.curso-card__preco strong { font: 700 24px/1 var(--font-display); color: var(--p-accent); }

/* ---------- Certificado: painel da consulta pública ---------- */
.rows--steps { list-style: none; margin: 0; padding: 0; }
.rows .rows__name small { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-body); margin-top: 2px; }
.sistec { background: #fff; border: 1px solid #dce2ee; border-radius: var(--r-lg); overflow: hidden; }
.sistec__head { display: flex; align-items: center; gap: 10px; background: var(--p-inv-bg); color: #fff; padding: var(--s-4) var(--s-5); font-size: 14px; font-weight: 500; }
.sistec__dot { width: 9px; height: 9px; border-radius: 999px; background: #22c55e; }
.sistec__dados { margin: 0; padding: var(--s-3) var(--s-5) 0; font-size: 16px; }
.sistec__dados > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px dashed #dce2ee; }
.sistec__dados dt { color: var(--muted); }
.sistec__dados dd { margin: 0; font-weight: 500; }
.sistec__selo { margin: var(--s-5); display: inline-flex; align-items: center; gap: var(--s-2); background: #15803d; color: #fff; font-weight: 500; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); }
@media (max-width: 639px) { .sistec__dados > div { grid-template-columns: 1fr; gap: 2px; } }

/* Preço em destaque nas listas. */
.preco-destaque { font: 700 28px/1 var(--font-display); color: var(--p-accent); }
.preco__foto, .matricula__foto { height: min(560px, var(--ly-fit, 560px)); border-radius: var(--r-lg); overflow: hidden; }
.preco__foto img, .matricula__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .preco__foto, .matricula__foto { height: auto; aspect-ratio: 4 / 3; margin-top: var(--s-7); } }

/* Formulário: o curso e a autorização ocupam a linha inteira. */
.form .field:has(select), .form .field--check, .form .field--full { grid-column: 1 / -1; }
.field--check { grid-template-columns: 24px minmax(0, 1fr); align-items: start; column-gap: var(--s-3); font-weight: 400; font-size: 16px; }
.field--check input { width: 24px; height: 24px; margin: 2px 0 0; }
.field--check .field__error { grid-column: 1 / -1; }

/* Rodapé: o nome recriado em texto sobre o marinho (CLAUDE.md, seção 5). */
.footer__word { font: 700 48px/1 var(--font-display); text-decoration: none; letter-spacing: -0.01em; }
.footer__word span:first-child { color: #fff; }
.footer__word span:last-child { color: var(--gold); }

/* ---------- Páginas internas (catálogo e cursos) ---------- */
.migalhas { font-size: 14px; color: var(--muted); margin-bottom: var(--s-4); }
.migalhas a { color: var(--muted); }
.pagina-interna .catalogo-topo { height: auto; min-height: 0; padding-top: calc(var(--nav) + var(--s-8)); padding-bottom: var(--s-6); }
.pagina-interna .catalogo-eixo { height: auto; min-height: 0; padding-top: var(--s-7); padding-bottom: var(--s-7); }
.eixos-nav { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.eixo-pill { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border: 1px solid #cbd3dd; border-radius: 999px; text-decoration: none; color: var(--p-accent); font-weight: 500; }
.pos-lista { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: var(--s-6); }
.pos-lista li { break-inside: avoid; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.pagina-interna .texto-legal { height: auto; min-height: 0; padding-top: calc(var(--nav) + var(--s-8)); padding-bottom: var(--s-9); }
.texto-legal__corpo { margin-top: var(--s-7); }
.texto-legal__corpo h2 { font-size: var(--t-h3, 28px); margin-top: var(--s-7); }
.texto-legal__corpo ul { padding-left: 1.2em; display: grid; gap: var(--s-2); }
.texto-legal__corpo p, .texto-legal__corpo li { font-size: 17px; line-height: 1.65; }
.curso-fatos { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin: var(--s-5) 0; }
.curso-fatos dt { font-size: 13px; color: var(--muted); }
.curso-fatos dd { margin: 0; font-weight: 500; }

/* ---------- "de R$ 1.699,00 por" (preço anterior riscado; o à vista continua em destaque) ---------- */
.preco-de { display: block; font: 500 14px/1.3 var(--font-text); color: var(--p-muted); letter-spacing: 0; }
.preco-de s { text-decoration-thickness: 1.5px; }
.preco-de--claro { color: #c9d3ea; }
.preco-de--grande { font-size: 18px; }
.curso-card__preco .preco-de, .rows__value .preco-de { display: inline; margin-right: 4px; }
.lp-preco-linha__valor { display: flex; flex-direction: column; }

/* ---------- pop-up do ecossistema UNIATEC (mesmo CSS no site e no painel) ---------- */
.pp-fundo { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(9, 18, 56, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: pp-entra-fundo .25s ease both; }
.pp-janela { position: relative; max-width: 100%; max-height: calc(100dvh - 32px); animation: pp-entra .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pp-entra-fundo { from { opacity: 0; } }
@keyframes pp-entra { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.pp-fechar { position: absolute; z-index: 3; top: -14px; right: -14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #0f1f5c; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .45); }
.pp-fechar:hover { background: #c9a227; }
.pp-fechar:focus-visible { outline: 3px solid #c9a227; outline-offset: 2px; }
.pp-caixa { display: flex; flex-direction: column; width: min(92vw, 520px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 22px; background: #fff; color: #0f1f5c; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .55); font-family: 'Barlow', system-ui, sans-serif; }
.pp-caixa.pp-f-16x9 { width: min(92vw, 880px); }
.pp-caixa.pp-f-9x16 { width: min(92vw, 400px); }
.pp-caixa.pp-f-1x1 { width: min(92vw, 560px); }
.pp-midia { flex: none; display: flex; justify-content: center; background: #0f1f5c; }
.pp-midia img { display: block; width: 100%; height: auto; max-height: 72dvh; object-fit: contain; }
.pp-midia > a { display: block; width: 100%; }
/* a imagem usa a proporção real dela (sem faixas); o formato escolhido define só a largura da janela */
.pp-midia--video { position: relative; aspect-ratio: 16 / 9; }
.pp-f-9x16 .pp-midia--video { aspect-ratio: 9 / 16; max-height: 72dvh; }
.pp-midia--video iframe, .pp-midia--video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.pp-texto { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px 24px; }
.pp-texto h2 { margin: 0; font: 700 clamp(24px, 3vw, 30px)/1.08 'Barlow Condensed', 'Arial Narrow', sans-serif; color: #0f1f5c; }
.pp-texto p { margin: 0; font-size: 16.5px; line-height: 1.5; color: #4a5b6e; white-space: pre-line; }
.pp-botao { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; margin-top: 4px; border-radius: 999px; background: #c9a227; color: #0f1f5c; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .2s ease, background-color .2s; }
.pp-botao:hover { background: #d8b03a; transform: translateY(-1px); }
.pp-caixa--texto .pp-texto { padding: 28px 28px 30px; }
.pp-caixa--urgente { border: 3px solid #b42318; }
.pp-faixa { flex: none; padding: 10px 24px; background: #b42318; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.pp-caixa--urgente .pp-botao { background: #b42318; color: #fff; }
.pp-caixa--urgente .pp-botao:hover { background: #912018; }
@media (max-width: 520px) {
  .pp-fechar { top: 8px; right: 8px; }
  .pp-texto { padding: 18px 18px 20px; }
  .pp-botao { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pp-fundo, .pp-janela { animation: none; } .pp-botao { transition: none; } }

/* ---------- faixa de logos das instituições parceiras (mesmo CSS no site e no painel) ---------- */
.fl { display: grid; gap: 14px; }
.fl-topo { display: flex; align-items: center; justify-content: center; gap: 10px; }
.fl-titulo { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #4a5b6e; }
.fl-pausa { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #e3e8ef; border-radius: 50%; background: #fff; color: #0f1f5c; cursor: pointer; }
.fl-pausa:hover { border-color: #1e3a9e; }
.fl-janela { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fl-trilho { display: flex; width: max-content; animation: fl-passa var(--fl-duracao, 40s) linear infinite; }
.fl:hover .fl-trilho, .fl.is-pausado .fl-trilho, .fl:focus-within .fl-trilho { animation-play-state: paused; }
.fl-grupo { display: flex; gap: 18px; margin: 0; padding: 4px 9px; list-style: none; }
.fl-item { flex: none; display: grid; place-items: center; width: 190px; height: 96px; padding: 14px 22px; border-radius: 18px; background: #fff; border: 1px solid #e3e8ef; box-shadow: 0 12px 28px -22px rgba(15, 31, 92, .5); }
.fl-item a { display: grid; place-items: center; width: 100%; height: 100%; }
.fl-item img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
@keyframes fl-passa { to { transform: translateX(-50%); } }
@media (max-width: 639px) { .fl-item { width: 150px; height: 80px; padding: 12px 16px; } .fl-item img { max-height: 52px; } }
@media (prefers-reduced-motion: reduce) {
  .fl-trilho { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .fl-grupo[aria-hidden] { display: none; }
  .fl-grupo { flex-wrap: wrap; justify-content: center; }
  .fl-janela { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- formulário de matrícula (mesmo CSS no site e no painel) ---------- */
.fm { display: grid; gap: 18px; color: #0f1f5c; font-family: 'Barlow', system-ui, sans-serif; }
.fm-armadilha { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.fm-bloco { margin: 0; padding: 20px 22px 22px; border: 1px solid #e3e8ef; border-radius: 20px; background: #fff; }
.fm-bloco legend { padding: 0 8px; font: 700 20px/1 'Barlow Condensed', 'Arial Narrow', sans-serif; color: #0f1f5c; }
.fm-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fm-campo { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #0f1f5c; min-width: 0; }
.fm-campo--2 { grid-column: span 2; }
.fm-campo input, .fm-campo select { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #cbd3dd; background: #fff; font: 400 16px 'Barlow', system-ui, sans-serif; color: #0f1f5c; width: 100%; }
.fm-campo input:focus, .fm-campo select:focus { outline: none; border-color: #1e3a9e; box-shadow: 0 0 0 4px rgba(30, 58, 158, .14); }
.fm-campo small { font-weight: 400; font-size: 12.5px; color: #4a5b6e; }
.fm-nota { margin: 0; font-size: 14px; color: #4a5b6e; }
.fm-erro { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #b42318; font-weight: 600; font-size: 14.5px; }
.fm-mods { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.fm-mod { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #e3e8ef; background: #fff; color: #0f1f5c; font: 600 14px 'Barlow', sans-serif; cursor: pointer; }
.fm-mod span { margin-left: 4px; color: #4a5b6e; font-weight: 500; }
.fm-mod[aria-selected='true'] { background: #0f1f5c; border-color: #0f1f5c; color: #fff; }
.fm-mod[aria-selected='true'] span { color: #c9d3ea; }
.fm-lista { display: grid; gap: 6px; max-height: 360px; overflow: auto; padding: 4px 2px; }
.fm-lista .fm-nota { margin-bottom: 6px; }
.fm-curso { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border-radius: 12px; border: 1px solid #e3e8ef; cursor: pointer; }
.fm-curso:hover { border-color: rgba(30, 58, 158, .45); }
.fm-curso.is-sel { border-color: #1e3a9e; background: #f2f5fd; }
.fm-curso input { width: 20px; height: 20px; flex: none; accent-color: #1e3a9e; }
.fm-curso strong { display: block; font-size: 15px; }
.fm-curso small { display: block; font-size: 12.5px; color: #4a5b6e; }
.fm-escolhidos { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fm-escolhidos li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 12px; border-radius: 999px; background: #0f1f5c; color: #fff; font-size: 13.5px; }
.fm-escolhidos small { color: #c9d3ea; }
.fm-escolhidos button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; font-size: 16px; }
.fm-formas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.fm-forma { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #e3e8ef; cursor: pointer; }
.fm-forma.is-sel { border-color: #1e3a9e; background: #f2f5fd; }
.fm-forma input { width: 20px; height: 20px; accent-color: #1e3a9e; }
.fm-forma strong { display: block; font-size: 16px; }
.fm-forma small { display: block; font-size: 13.5px; color: #4a5b6e; }
.fm-aceite { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #4a5b6e; }
.fm-aceite input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #1e3a9e; }
.fm-total { position: sticky; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 18px; background: #0f1f5c; color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.fm-total strong { color: #f3d77a; font-size: 20px; }
.fm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font: 700 16px 'Barlow', sans-serif; cursor: pointer; text-decoration: none; text-align: center; }
.fm-btn:disabled { opacity: .55; cursor: not-allowed; }
.fm-btn--ouro { background: #c9a227; color: #0f1f5c; }
.fm-btn--ouro:hover:not(:disabled) { background: #d8b03a; }
.fm-btn--azul { background: #1e3a9e; color: #fff; }
.fm-ok { display: grid; gap: 12px; justify-items: start; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid #e3e8ef; }
.fm-ok h2 { margin: 0; font: 700 30px/1.05 'Barlow Condensed', sans-serif; color: #0f1f5c; }
.fm-ok p { margin: 0; color: #4a5b6e; font-size: 16px; }
.fm-ok__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #15803d; color: #fff; font-size: 26px; font-weight: 700; }
.fm-ra { font: 700 26px/1 'Barlow Condensed', sans-serif; color: #1e3a9e; letter-spacing: .04em; }
.fm-passos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.fm-passos > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #f4f6fb; }
.fm-passos span { font-size: 14px; color: #4a5b6e; }
@media (max-width: 760px) {
  .fm-grade, .fm-formas, .fm-passos { grid-template-columns: 1fr; }
  .fm-campo--2 { grid-column: auto; }
  .fm-total .fm-btn { width: 100%; }
}

/* ---------- página /matricula/ ---------- */
main.nx > section.mt-topo { padding: calc(var(--nav) + 40px) 0 64px !important; height: auto !important; min-height: 0 !important; display: block !important; background: var(--p-surface, #f4f6fb); }
main.nx > section.mt-topo > .wrap { display: block !important; height: auto !important; max-width: 980px; }
.mt-topo h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1; color: #0f1f5c; }
.mt-lead { margin: 14px 0 26px; font-size: 17px; color: #4a5b6e; max-width: 70ch; }
@media (min-width: 640px) and (max-width: 1023px) { main.nx > section.mt-topo { padding-top: 190px !important; } }

/* ---------- Cursos técnicos: faixa "Técnicos EAD e regulares" (SISTEC e conselhos), em avaliação pelo dono 19/11/2026 ---------- */
.section.rc { position: relative; overflow: hidden; background: var(--p-inv-bg); color: #fff; }
.pagina-interna .section.rc { height: auto; min-height: 0; padding-top: var(--s-9); padding-bottom: var(--s-9); }
.rc::before { /* brilho suave no canto, dá profundidade ao marinho */
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201,162,39,.20), rgba(201,162,39,0)); pointer-events: none;
}
.rc__grade { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: center; }
.rc__selo { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s-4); padding: 6px 14px; border: 1px solid rgba(201,162,39,.55); border-radius: 999px; color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.rc__ponto { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: rc-pulso 2.4s ease-out infinite; }
.rc__titulo { margin: 0; color: #fff; font: 700 clamp(38px, 5.2vw, 64px)/0.98 var(--font-display); letter-spacing: var(--display-tracking-xl); text-transform: uppercase; }
.rc__titulo::after { content: ""; display: block; width: 96px; height: 4px; margin-top: var(--s-4); border-radius: 2px; background: var(--gold); transform-origin: left; }
.rc__lead { margin: var(--s-5) 0 0; color: var(--p-inv-muted); font-size: 18px; line-height: 1.6; max-width: 58ch; }
.rc__forte { margin: var(--s-4) 0 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.5; max-width: 52ch; }
.rc__fatos { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.rc__fatos li { display: grid; gap: 2px; padding: var(--s-4); border-radius: var(--r-md); background: var(--p-inv-surface); border: 1px solid rgba(255,255,255,.08); }
.rc__fatos strong { font: 700 26px/1 var(--font-display); color: var(--gold); }
.rc__fatos span { font-size: 14px; color: var(--p-inv-muted); line-height: 1.35; }
.rc__painel { position: relative; overflow: hidden; background: #fff; border-radius: var(--r-lg); padding: var(--s-6); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.rc__painel::after { /* reflexo que passa uma vez quando a faixa aparece */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.75), rgba(255,255,255,0)); transform: skewX(-12deg); opacity: 0;
}
.rc__painel-tit { margin: 0 0 var(--s-5); color: var(--p-muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rc__logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.rc__logos li { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: var(--s-3); border-radius: var(--r-md); background: #fff; border: 1px solid #e6eaf2; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.rc__logos { grid-auto-flow: dense; }
.rc__logos li.rc__largo { grid-column: span 2; } /* logos largos (SISTEC, COFECI-CRECI, Cadastur): a grade fecha sem buracos */
.rc__logos li:hover { transform: translateY(-3px); border-color: #c9d2e6; box-shadow: 0 10px 22px -12px rgba(15,31,92,.35); }
.rc__logos img { display: block; max-width: 100%; height: auto; max-height: 66px; width: auto; }

/* Entrada ao aparecer na tela (só com JS e sem "reduzir movimento"). */
.rc--anima .rc__texto > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rc--anima .rc__titulo::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1) .35s; }
.rc--anima .rc__painel { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .8s ease .15s, transform .8s cubic-bezier(.2,.7,.2,1) .15s; }
.rc--anima .rc__logos li { opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .5s ease calc(.45s + var(--i) * 70ms), transform .5s cubic-bezier(.2,.7,.2,1) calc(.45s + var(--i) * 70ms), box-shadow .25s ease, border-color .25s ease; }
.rc--on .rc__texto > * { opacity: 1; transform: none; }
.rc--on .rc__texto > :nth-child(2) { transition-delay: .08s; }
.rc--on .rc__texto > :nth-child(3) { transition-delay: .16s; }
.rc--on .rc__texto > :nth-child(4) { transition-delay: .24s; }
.rc--on .rc__texto > :nth-child(5) { transition-delay: .32s; }
.rc--on .rc__titulo::after { transform: scaleX(1); }
.rc--on .rc__painel { opacity: 1; transform: none; }
.rc--on .rc__logos li { opacity: 1; transform: none; }
.rc--on .rc__logos li:hover { transform: translateY(-3px); }
.rc--on .rc__painel::after { animation: rc-reflexo 1.4s ease 1.6s 1 both; }
@keyframes rc-reflexo { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 1; } }
@keyframes rc-pulso { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }

@media (max-width: 1023px) {
  .pagina-interna .section.rc { padding-top: var(--s-8); padding-bottom: var(--s-8); }
  .rc__grade { grid-template-columns: 1fr; gap: var(--s-6); }
}
@media (max-width: 639px) {
  .rc__painel { padding: var(--s-5) var(--s-4); }
  .rc__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
  .rc__logos li { min-height: 80px; }
  .rc__fatos { grid-template-columns: 1fr; }
  .rc__fatos li { grid-template-columns: auto 1fr; align-items: baseline; gap: var(--s-3); }
  .rc__lead, .rc__forte { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .rc__ponto { animation: none; } .rc__logos li { transition: none; } }
