/* ==========================================================================
   UNEV — Cursos técnicos (página de vendas)
   Layout: faixa roxa de oferta no topo, catálogo em grade, página de curso em
   2 colunas com caixa de matrícula fixa. O "E" da logo (três barras douradas)
   é o único grafismo.
   ========================================================================== */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/newsreader-latin-400-italic.woff2") format("woff2"); }

:root {
  --purple: #2E1B4B;
  --purple-deep: #21133A;
  --purple-hover: #3E2766;
  --purple-2: #3A2560;
  --gold: #D4AB53;
  --gold-hover: #E0BD6E;
  --gold-ink: #7E5D14;
  --ivory: #F7F6F9;
  --paper: #FFFFFF;
  --tint: #EEEBF3;
  --ink: #1A1A1A;
  --muted: #565065;
  --line: rgba(46, 27, 75, .14);
  --line-strong: rgba(46, 27, 75, .3);
  --line-dark: rgba(247, 246, 249, .16);
  --on-dark: #F7F6F9;
  --on-dark-muted: rgba(247, 246, 249, .76);
  --pix: #1E7A45;
  --pix-bg: #E8F4EC;
  --wa: #1FA855;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 4px;
  --header-h: 68px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
main:focus, h1:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--purple); color: var(--on-dark); padding: 12px 18px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.todo { display: inline-block; font-size: .8125rem; font-weight: 600; color: var(--gold); background: rgba(212, 171, 83, .1); border: 1px dashed rgba(212, 171, 83, .5); border-radius: 3px; padding: .2em .5em; }
.todo::before { content: "A PREENCHER · "; font-weight: 800; }

/* ---------- Tipografia comum ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--gold); }
.eyebrow-gold { color: var(--gold); }
.sec { padding-block: clamp(64px, 6vw + 32px, 112px); }
.sec-tint { background: var(--tint); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); max-width: 640px; }
.sec-head h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; color: var(--purple); }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.0625rem; }

/* ---------- Barras (E da logo) ---------- */
.bars { display: inline-grid; gap: var(--bg, 5px); width: var(--bw, 28px); }
.bars i { display: block; height: var(--bh, 5px); border-radius: calc(var(--bh, 5px) * .2); background: var(--gold); }
.bars i:nth-child(2) { width: 81%; }
.bars i:nth-child(3) { background: var(--bar3, var(--purple)); }
.bars-lg { --bw: 56px; --bh: 11px; --bg: 9px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--radius); font: 700 1rem/1.2 var(--font-sans); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-xl { min-height: 64px; padding: 0 24px; font-size: 1.1875rem; }
.btn-xl svg { width: 24px; height: 24px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--purple); color: var(--on-dark); }
.btn-primary:hover { background: var(--purple-hover); }
.btn-gold { background: var(--gold); color: var(--purple); }
.btn-gold:hover { background: var(--gold-hover); }

/* ---------- Faixas do topo ---------- */
.demo-bar { background: var(--ink); color: #FFE7A8; font-size: .8125rem; font-weight: 600; text-align: center; }
.demo-bar .wrap { padding-block: 6px; }
.strip { background: var(--purple-deep); color: var(--on-dark-muted); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.strip .wrap { display: flex; justify-content: center; gap: 8px 28px; flex-wrap: wrap; padding-block: 8px; text-align: center; }
.strip b { color: var(--gold); }
@media (max-width: 559px) { .strip span + span { display: none; } }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; padding: 6px 0; flex: none; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--purple); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
@media (max-width: 899px) {
  .nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 420px) { .top-cta-txt { display: none; } .top .btn { width: 48px; padding: 0; } }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero { --bar3: var(--on-dark); background: var(--purple); color: var(--on-dark); overflow: clip; position: relative; }
.hero::after { /* barras do E em escala grande, cortadas pela borda */
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 300px; height: 260px; pointer-events: none; opacity: .07;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 100% 52px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 104px / 81% 52px no-repeat,
    linear-gradient(var(--ivory), var(--ivory)) 0 208px / 100% 52px no-repeat;
}
.hero-in { display: grid; gap: 40px; padding-block: clamp(40px, 5vw, 80px) clamp(48px, 6vw, 96px); position: relative; z-index: 1; }
.hero-in > * { min-width: 0; }
.ticket { display: inline-flex; align-items: stretch; margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; font-weight: 800; font-size: .875rem; letter-spacing: .04em; text-transform: uppercase; }
.ticket span { background: rgba(247, 246, 249, .12); color: var(--on-dark); padding: 8px 14px; }
.ticket b { background: var(--gold); color: var(--purple); padding: 8px 14px; font-size: 1rem; letter-spacing: 0; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; max-width: 15ch; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--gold); }
.hero .lead { margin-top: 20px; max-width: 48ch; color: var(--on-dark-muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.search { margin-top: 32px; display: flex; align-items: center; gap: 6px; max-width: 580px; background: var(--paper); border-radius: var(--radius); padding: 6px; }
.search-ic { display: grid; place-items: center; padding-left: 10px; color: var(--muted); }
.search-ic svg { width: 20px; height: 20px; }
.search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; font: 500 1rem var(--font-sans); color: var(--ink); padding: 0 6px; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px var(--gold); }
.search input::placeholder { color: #857F91; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { font-size: .8125rem; color: var(--on-dark-muted); }
.facts dd { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--on-dark); font-variant-numeric: tabular-nums; }

.feat { background: var(--paper); color: var(--ink); border-radius: var(--radius); border-top: 6px solid var(--gold); padding: 28px; display: grid; gap: 16px; align-self: center; }
.feat .tag { justify-self: start; font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.feat h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--purple); }
.feat ul { display: grid; gap: 10px; font-size: .9375rem; color: var(--muted); }
.feat li { display: flex; gap: 10px; align-items: center; }
.feat li svg { width: 18px; height: 18px; color: var(--purple); }
.price { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.de { font-size: .9375rem; color: var(--muted); }
.de { text-decoration: line-through; text-decoration-color: rgba(86, 80, 101, .6); }
.parc { font-size: 2.25rem; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--purple); font-variant-numeric: tabular-nums; }
.parc small { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.av { font-size: .875rem; color: var(--muted); }
@media (min-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); } .feat { max-width: 420px; justify-self: end; width: 100%; } }
@media (max-width: 559px) { .search .btn { padding: 0 16px; } .search-ic { display: none; } }

/* ---------- Benefícios ---------- */
.bens { background: var(--paper); border-bottom: 1px solid var(--line); }
.bens-in { display: grid; }
.ben { display: flex; gap: 16px; align-items: center; padding: 22px 0; }
.ben + .ben { border-top: 1px solid var(--line); }
.ben > svg { width: 28px; height: 28px; color: var(--purple); }
.ben h3 { font-size: 1rem; font-weight: 700; color: var(--purple); }
.ben p { font-size: .875rem; color: var(--muted); }
@media (min-width: 820px) {
  .bens-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ben { padding: 28px 28px; }
  .ben:first-child { padding-left: 0; }
  .ben + .ben { border-top: 0; border-left: 1px solid var(--line); }
}

/* ---------- Catálogo ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { min-height: 42px; padding: 0 16px; font: 600 .9375rem var(--font-sans); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--purple); }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--on-dark); }
.result { font-size: .9375rem; font-weight: 600; color: var(--muted); min-height: 1.5em; margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--purple); transform: translateY(-2px); }
.card[hidden] { display: none; }
.cover { --bar3: var(--on-dark); position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 148px; padding: 18px 20px; color: var(--on-dark); overflow: hidden; }
.cover-area { font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cover-name { font-size: 1.375rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; max-width: 80%; text-wrap: balance; }
.bars-cover { position: absolute; right: 18px; bottom: 18px; --bw: 30px; --bh: 6px; --bg: 5px; }
.cover-saude     { background: #3B1F5C; }
.cover-industria { background: #2E1B4B; }
.cover-gestao    { background: #452A6B; }
.cover-tec       { background: #241640; }
.cover-agro      { background: #34254F; }
.cover-servicos  { background: #4F2F6E; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.card h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--purple); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .875rem; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 16px; height: 16px; }
.card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-foot small { display: block; font-size: .75rem; color: var(--muted); }
.card-foot b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--purple); font-variant-numeric: tabular-nums; }
.go { font-size: .875rem; font-weight: 700; color: var(--purple); border-bottom: 1.5px solid var(--gold); white-space: nowrap; }
@media (max-width: 559px) {
  .grid:not(.grid-rel) { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid:not(.grid-rel) .cover { min-height: 112px; padding: 14px; }
  .grid:not(.grid-rel) .cover-area { font-size: .625rem; letter-spacing: .1em; }
  .grid:not(.grid-rel) .cover-name { font-size: 1.0625rem; max-width: 100%; padding-right: 0; }
  .grid:not(.grid-rel) .bars-cover { display: none; }
  .grid:not(.grid-rel) .card h3 { display: none; }
  .grid:not(.grid-rel) .card-body { padding: 12px 14px 14px; gap: 8px; }
  .grid:not(.grid-rel) .meta { flex-direction: column; font-size: .8125rem; }
  .grid:not(.grid-rel) .card-foot { padding-top: 10px; }
  .grid:not(.grid-rel) .card-foot b { font-size: 1.125rem; }
  .grid:not(.grid-rel) .go { display: none; }
}
.empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty a { color: var(--purple); font-weight: 700; }

/* ---------- Passos ---------- */
.steps { display: grid; gap: 0; }
.step { display: grid; gap: 8px; align-content: start; padding-block: 28px; border-top: 1px solid var(--line-strong); }
.step-bar { display: flex; gap: 6px; margin-bottom: 8px; }
.step-bar i { display: block; width: 32px; height: 6px; border-radius: 2px; background: var(--line-strong); }
.step:nth-child(1) .step-bar i:nth-child(-n+1),
.step:nth-child(2) .step-bar i:nth-child(-n+2),
.step:nth-child(3) .step-bar i:nth-child(-n+3) { background: var(--gold); }
.step-num { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.step h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.015em; color: var(--purple); }
.step p { color: var(--muted); }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

/* ---------- Bolsa ---------- */
.bolsa { --bar3: var(--on-dark); background: var(--purple); color: var(--on-dark); }
.bolsa-in { display: grid; gap: 40px; }
.bolsa-in > * { min-width: 0; }
.bolsa h2 { margin-top: 16px; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.03em; }
.bolsa-lead { margin-top: 16px; color: var(--on-dark-muted); max-width: 46ch; }
.pct { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.pct li { min-width: 76px; padding: 10px 16px; text-align: center; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; border: 1.5px solid var(--line-dark); border-radius: var(--radius); }
.pct li:last-child { background: var(--gold); border-color: var(--gold); color: var(--purple); }
.rules { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.rule { padding-block: 22px; border-bottom: 1px solid var(--line-dark); }
.rule h3 { font-size: 1.0625rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.rule p, .rule li { color: var(--on-dark-muted); font-size: .9375rem; }
.rule ul { display: grid; gap: 4px; }
.rule li { display: flex; gap: 10px; }
.rule li::before { content: ""; flex: none; width: 10px; height: 2px; margin-top: .75em; background: var(--gold); }
@media (min-width: 900px) { .bolsa-in { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; } }

/* ---------- FAQ ---------- */
.split { display: grid; gap: 8px; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding-block: 16px; cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 700; color: var(--purple); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--purple), var(--purple)) center / 14px 2px no-repeat, linear-gradient(var(--purple), var(--purple)) center / 2px 14px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 32px 22px 0; color: var(--muted); max-width: 64ch; }

/* ==========================================================================
   PÁGINA DO CURSO
   ========================================================================== */
.c-hero { --bar3: var(--on-dark); position: relative; background: var(--purple); color: var(--on-dark); overflow: clip; }
.c-hero-in { padding-block: 28px clamp(44px, 5vw, 72px); position: relative; z-index: 1; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--on-dark-muted); margin-bottom: 28px; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--on-dark); text-decoration: underline; }
.c-hero h1 { margin-top: 14px; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; }
.c-hero .lead { margin-top: 16px; max-width: 60ch; color: var(--on-dark-muted); font-size: 1.125rem; }
.hl-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hl-row li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: .875rem; font-weight: 600; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.hl-row svg { width: 17px; height: 17px; color: var(--gold); }
.hero-cta { margin-top: 32px; }
.bars-chero { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); --bw: 340px; --bh: 56px; --bg: 52px; opacity: .1; }
@media (max-width: 899px) { .bars-chero { display: none; } }
@media (max-width: 559px) { .hero-cta { width: 100%; font-size: 1rem; padding: 0 16px; } }

.c-main { display: grid; gap: 40px; padding-block: 48px 88px; }
.c-col { display: grid; gap: 56px; min-width: 0; }
.c-col h2 { font-size: 1.625rem; font-weight: 800; letter-spacing: -.02em; color: var(--purple); margin-bottom: 18px; }
.c-col section > p { color: var(--muted); max-width: 66ch; }
.c-col section > p + p { margin-top: 12px; }
.infos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.infos div { background: var(--paper); padding: 14px 16px; display: flex; flex-direction: column-reverse; gap: 2px; }
.infos dt { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.infos dd { font-size: 1.0625rem; font-weight: 800; color: var(--purple); }
@media (min-width: 640px) { .infos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mod { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.mod + .mod { margin-top: 10px; }
.mod summary { display: flex; align-items: center; gap: 12px; min-height: 60px; cursor: pointer; list-style: none; font-weight: 800; color: var(--purple); }
.mod summary::-webkit-details-marker { display: none; }
.mod summary span { margin-left: auto; font-size: .875rem; font-weight: 600; color: var(--muted); }
.mod summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.mod[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.mod ul { padding-bottom: 14px; }
.mod li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.mod li span { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.jobs { display: grid; gap: 0 32px; }
.jobs li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.jobs svg { width: 18px; height: 18px; margin-top: 4px; color: var(--gold-ink); }
@media (min-width: 560px) { .jobs { grid-template-columns: 1fr 1fr; } }
.how { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.how div { background: var(--paper); padding: 20px; }
.how h3 { font-size: 1rem; font-weight: 700; color: var(--purple); margin-bottom: 4px; }
.how p { font-size: .9375rem; color: var(--muted); }
@media (min-width: 560px) { .how { grid-template-columns: 1fr 1fr; } }
.cert { display: flex; gap: 24px; align-items: flex-start; padding: 28px; background: var(--tint); border-radius: var(--radius); }
.cert .bars { --bw: 44px; --bh: 9px; --bg: 7px; margin-top: 6px; }
.cert h2 { font-size: 1.25rem; margin-bottom: 6px; }
.cert p { color: var(--muted); }
.grid-rel { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

/* Caixa de matrícula */
.buy { background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; align-self: start; }
.off { justify-self: start; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); background: rgba(212, 171, 83, .22); padding: 6px 10px; border-radius: 3px; }
.buy h2 { font-size: 1.1875rem; font-weight: 800; line-height: 1.25; color: var(--purple); }
.buy-price { display: grid; gap: 2px; }
.buy .parc { font-size: 2.6rem; }
.pay { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pay-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; font-size: .9375rem; color: var(--muted); }
.pay-row + .pay-row { border-top: 1px solid var(--line); }
.pay-row b { color: var(--purple); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pay-pix { background: var(--pix-bg); }
.pay-pix span, .pay-pix b { color: var(--pix); }
.pay-pix b { font-size: 1.0625rem; }
.buy ul { display: grid; gap: 8px; font-size: .9375rem; color: var(--muted); }
.buy li { display: flex; gap: 10px; align-items: center; }
.buy li svg { width: 17px; height: 17px; color: var(--gold-ink); }
.note { font-size: .8125rem; color: var(--muted); text-align: center; padding-top: 12px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) {
  .c-main { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
  .buy { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); margin-top: -120px; z-index: 2; box-shadow: 0 24px 48px -24px rgba(33, 19, 58, .35); }
}

/* Barra fixa mobile */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; align-items: center; gap: 12px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -16px rgba(33, 19, 58, .4); padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); }
.mbar div { display: grid; line-height: 1.2; }
.mbar small { font-size: .75rem; color: var(--muted); }
.mbar b { font-size: 1.25rem; font-weight: 800; color: var(--purple); font-variant-numeric: tabular-nums; }
.mbar .btn { margin-left: auto; }
@media (max-width: 999px) { body.is-curso .mbar { display: flex; } body.is-curso .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Faixa CTA + Rodapé ---------- */
.band { --bar3: var(--on-dark); background: var(--purple-2); color: var(--on-dark); }
.band-in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; padding-block: 48px; }
.band-copy { flex: 1 1 360px; min-width: 0; }
.band h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.band p { margin-top: 6px; color: var(--on-dark-muted); }
@media (max-width: 559px) { .band .btn { width: 100%; } .band .bars { display: none; } }
.site-footer { --bar3: var(--on-dark); background: var(--purple-deep); color: var(--on-dark-muted); font-size: .9375rem; padding-block: 64px 32px; }
.foot-grid { display: grid; gap: 36px; }
.foot-brand img { width: 200px; }
.foot-brand p { margin-top: 16px; color: var(--on-dark); font-weight: 600; }
.foot-title { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer li a { display: inline-flex; min-height: 34px; align-items: center; text-decoration: none; }
.site-footer li a:hover { color: var(--on-dark); text-decoration: underline; }
.site-footer li:not(:has(a)) { padding-block: 5px; }
.foot-legal { display: grid; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .8125rem; }
.foot-legal strong { color: var(--on-dark); font-weight: 600; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }

.wa-float { position: fixed; z-index: 54; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgba(33, 19, 58, .45); }
.wa-float svg { width: 30px; height: 30px; }
body.is-curso .wa-float { display: none; }

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

/* ---------- Escolha de pagamento na caixa de matrícula ---------- */
.pay-pick { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.pay-pick legend { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pay-opt { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background-color .2s; }
.pay-opt input[type="radio"] { width: 18px; height: 18px; margin: 0; accent-color: var(--purple); }
.pay-opt .pay-name { font-size: .9375rem; font-weight: 700; color: var(--ink); }
.pay-opt > b { grid-column: 2; font-size: 1.0625rem; color: var(--purple); font-variant-numeric: tabular-nums; }
.pay-opt.pay-pix > b { color: var(--pix); }
.pay-opt:has(input:checked) { border-color: var(--purple); background: var(--tint); }
.pay-opt.pay-pix:has(input:checked) { border-color: var(--pix); background: var(--pix-bg); }
.pay-sel { grid-column: 2; width: 100%; min-height: 44px; padding: 0 36px 0 12px; font: 600 .9375rem var(--font-sans); color: var(--purple); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232E1B4B' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; border: 1.5px solid var(--line-strong); border-radius: var(--radius); -webkit-appearance: none; appearance: none; cursor: pointer; }
.pay-sel:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(212, 171, 83, .5); }
.pay-sum { font-size: .875rem; font-weight: 600; color: var(--purple); background: var(--gold-soft, #F4EBD6); border-radius: var(--radius); padding: 10px 12px; }
.pay-sum:empty { display: none; }
.buy-pulse { box-shadow: 0 0 0 4px rgba(212, 171, 83, .7), 0 24px 48px -24px rgba(33, 19, 58, .35) !important; transition: box-shadow .3s; }

/* ---------- Aviso de redirecionamento ---------- */
.redir { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-left, 0px)); background: rgba(33, 19, 58, .78); }
.redir[hidden] { display: none; }
.redir-card { width: min(440px, 100%); background: var(--paper); border-top: 6px solid var(--gold); border-radius: var(--radius); padding: 28px 24px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.redir-card h2 { font-size: 1.35rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--purple); }
.redir-card p { color: var(--muted); font-size: .95rem; }
.redir-card .redir-sel { color: var(--purple); font-weight: 700; }
.redir-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--tint); border-top-color: var(--gold); animation: redirspin .8s linear infinite; }
@keyframes redirspin { to { transform: rotate(360deg); } }
