/* =========================================================
   Fundação UniHealth — visual do site (versão 3)
   Identidade própria: claro, colorido e arredondado.
   Cores do logo (verde-água), amarelo de "matrículas abertas"
   e azul-escuro para textos. Títulos em Montserrat,
   textos em Archivo. Botões em formato de pílula.
   ========================================================= */
:root {
  --tinta: #10313f;
  --tinta-2: #33505e;
  --cinza: #4d6775;
  --verde: #00a88f;
  --verde-escuro: #067a69;
  --verde-vivo: #5fe0c4;
  --menta: #e9f7f3;
  --menta-2: #c7ede3;
  --sol: #ffc83d;
  --sol-claro: #ffe39a;
  --ceu: #d7e8f0;
  --pessego: #f6dccf;
  --papel: #f5f8f7;
  --linha: #d5e6e2;
  --escuro: #10313f;
  --escuro-2: #164558;
  --wa: #0f7a3f;
  --branco: #fff;
  --raio: 24px;
  --raio-g: 36px;
  --largura: 1280px;
  --titulo: "Montserrat", "Archivo", system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sombra: 0 30px 60px -32px rgba(16, 49, 63, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--tinta); background: var(--branco); }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--verde-escuro); text-underline-offset: 3px; }
a:hover { color: var(--tinta); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 800; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.025em; color: var(--tinta); }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 1rem; top: -4rem; background: var(--sol); color: var(--tinta); padding: .6rem 1rem; z-index: 100; border-radius: 999px; font-weight: 700; }
.pular:focus { top: 1rem; }
.ic { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
.ic svg { width: 100%; height: 100%; }

/* ---------- Botões (pílulas) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: .75em 1.6em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-pq { min-height: 44px; padding: .5em 1.2em; font-size: .95rem; }
.btn-largo { width: 100%; }
.btn-primario { background: var(--verde-escuro); color: #fff; }
.btn-primario:hover { background: var(--tinta); color: #fff; }
.btn-sol, .btn-ouro { background: var(--sol); color: var(--tinta); }
.btn-sol:hover, .btn-ouro:hover { background: #ffd666; color: var(--tinta); }
.btn-escuro { background: var(--tinta); color: #fff; }
.btn-escuro:hover { background: var(--escuro-2); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0b6e39; color: #fff; }
.btn-claro { background: #fff; color: var(--tinta); border-color: var(--linha); }
.btn-claro:hover { border-color: var(--tinta); color: var(--tinta); }
.btn-contorno { background: transparent; color: var(--tinta); border-color: var(--tinta); }
.btn-contorno:hover { background: var(--tinta); color: #fff; }
.link-forte { font-weight: 700; color: var(--verde-escuro); text-decoration: none; border-bottom: 2px solid var(--verde); padding-bottom: 1px; white-space: nowrap; }
.link-forte:hover { color: var(--tinta); border-color: var(--tinta); }
.link-claro { color: #fff; border-color: var(--sol); }
.link-claro:hover { color: var(--sol); }
.pill { font: inherit; font-weight: 700; font-size: 1rem; border-radius: 999px; padding: .8rem 1.3rem; min-height: 48px; cursor: pointer; border: 2px solid var(--linha); background: #fff; color: var(--tinta); transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.pill:hover { border-color: var(--tinta); transform: translateY(-2px); }
.pill-ativa, .pill-ativa:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }

/* ---------- Faixa de aviso + cabeçalho ---------- */
.faixa-util { background: var(--tinta); color: #d9e7ec; font-size: .88rem; }
.util-in { max-width: var(--largura); margin: 0 auto; padding: .5rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; }
.util-in p { margin: 0; display: flex; align-items: center; gap: .6rem; }
.util-selo { background: var(--sol); color: var(--tinta); font-weight: 700; font-size: .8rem; border-radius: 999px; padding: .2rem .75rem; }
.util-links { gap: 1.2rem !important; }
.util-links a { color: #d9e7ec; text-decoration: none; }
.util-links a:hover { color: #fff; }
.util-aluno { color: var(--sol) !important; font-weight: 700; }

.topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(213, 230, 226, .7); }
.topo-in { max-width: var(--largura); margin: 0 auto; padding: .7rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--tinta); flex: none; }
.marca img { width: 44px; height: auto; }
.marca-nome { display: flex; flex-direction: column; font-size: .8rem; line-height: 1; color: var(--cinza); }
.marca-nome strong { font-family: var(--titulo); font-size: 1.6rem; color: var(--tinta); font-weight: 800; letter-spacing: -.03em; }
.nav { display: flex; gap: .25rem; margin: 0 auto; align-items: center; }
.nav > a, .nav-cursos-link { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; color: var(--tinta); font-weight: 600; transition: background-color .2s; }
.nav > a:hover, .nav-cursos-link:hover { background: var(--menta); color: var(--verde-escuro); }
.nav a[aria-current] { background: var(--menta); color: var(--verde-escuro); }
.nav-cursos-link .ic { width: 1em; height: 1em; transition: transform .2s; }
.nav-so-celular { display: none !important; }
.topo-acoes { display: flex; gap: .5rem; align-items: center; }
.topo-busca { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--tinta); border: 2px solid var(--linha); }
.topo-busca:hover { border-color: var(--tinta); color: var(--tinta); }
.topo-cta { min-height: 48px; padding: .6em 1.3em; }
.menu-botao { display: none; width: 48px; height: 48px; border: 2px solid var(--linha); border-radius: 50%; background: #fff; color: var(--tinta); padding: 11px; cursor: pointer; }
.menu-botao .ic { width: 100%; height: 100%; }
.menu-botao .ic-fechar, .menu-aberto .menu-botao .ic-menu { display: none; }
.menu-aberto .menu-botao .ic-fechar { display: inline-flex; }

/* Menu grande de cursos */
.nav-cursos { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linha); box-shadow: 0 30px 50px -24px rgba(16, 49, 63, .3); display: none; max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); overflow-y: auto; overscroll-behavior: contain; }
.nav-cursos:hover .mega, .nav-cursos:focus-within .mega, .mega-aberto .mega { display: block; }
.nav-cursos:hover .nav-cursos-link .ic, .mega-aberto .nav-cursos-link .ic { transform: rotate(180deg); }
.mega-in { max-width: var(--largura); margin: 0 auto; padding: 1.8rem 1.5rem 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 2rem; }
.mega-titulo { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--titulo); font-size: 1.3rem; font-weight: 800; color: var(--tinta); text-decoration: none; padding-bottom: .35rem; border-bottom: 3px solid var(--sol); }
.mega-titulo span { font-family: var(--sans); font-size: .85rem; color: var(--cinza); font-weight: 600; }
.mega-col > p { font-size: .88rem; color: var(--cinza); margin: .5rem 0 .6rem; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: flex; justify-content: space-between; gap: .5rem; padding: .32rem .5rem; margin: 0 -.5rem; border-radius: 10px; text-decoration: none; color: var(--tinta); font-size: .93rem; }
.mega-col li a span { color: var(--cinza); font-size: .82rem; }
.mega-col li a:hover { background: var(--menta); color: var(--verde-escuro); }
.mega-destaque { grid-column: 1 / -1; background: var(--menta); color: var(--tinta); border-radius: var(--raio); padding: 1rem 1.4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.mega-selo { display: flex; gap: .7rem; align-items: center; font-size: .95rem; margin: 0; }
.mega-selo .ic { color: var(--verde-escuro); width: 2rem; height: 2rem; }
.mega-selo strong { color: var(--tinta); }
.mega-eja { color: var(--verde-escuro); font-size: .92rem; font-weight: 600; }
.mega-kids { display: flex; flex-direction: column; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 20px; background: var(--sol); text-decoration: none; color: var(--tinta); }
.mega-kids strong { font-family: var(--titulo); font-size: 1.2rem; font-weight: 800; }
.mega-kids span { font-size: .85rem; }
.mega-kids:hover { background: #ffd666; color: var(--tinta); }

/* ---------- Seções ---------- */
.sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sec-papel { background: var(--papel); }
.sec-menta { background: var(--menta); }
.sec-escura { background: var(--escuro); color: #d3e3e8; }
.sec-escura h2, .sec-escura h3 { color: #fff; }
.sec-in { max-width: var(--largura); margin: 0 auto; padding: 0 1.5rem; }
.sec-cabeca { max-width: 46rem; margin-bottom: 2.4rem; }
.sec-cabeca p { color: var(--tinta-2); font-size: 1.12rem; }
.sec-escura .sec-cabeca p { color: #b9ccd3; }
.sec-cabeca-linha { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; }
.sec-cabeca-linha > div { flex: 1 1 30rem; }
.sec-cabeca-linha h2 { margin-bottom: .3em; }
.sec-cabeca-linha p { max-width: 40rem; margin: 0; }
.sobretitulo { margin: 0 0 .5rem; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--verde-escuro); }
.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.texto-estreito { max-width: 50rem; }

/* ---------- Topo da página inicial ---------- */
.topo-home { position: relative; overflow: hidden; background: var(--menta); isolation: isolate; }
.bolha { position: absolute; border-radius: 50%; z-index: -1; }
.bolha-1 { right: -180px; top: -220px; width: 640px; height: 640px; background: var(--menta-2); }
.bolha-2 { left: -120px; bottom: -160px; width: 360px; height: 360px; background: var(--sol-claro); }
.topo-home-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.topo-home-texto { display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.anuncio { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; background: #fff; color: var(--tinta); border-radius: 999px; padding: .4rem 1rem .4rem .4rem; font-weight: 600; font-size: .93rem; text-decoration: none; box-shadow: 0 8px 22px -14px rgba(16, 49, 63, .5); }
.anuncio span { background: var(--sol); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 700; }
.anuncio:hover { color: var(--verde-escuro); }
.topo-home h1, .topo-home .topo-home-titulo { font-size: clamp(2.6rem, 6vw, 5.2rem); margin: 0; line-height: .95; letter-spacing: -.045em; }
.topo-home h1 em, .topo-home-titulo em { font-style: normal; color: var(--verde-escuro); }
.topo-home-lead { margin: 0; font-size: 1.2rem; color: var(--tinta-2); max-width: 36rem; }
.mosaico { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.mosaico-grande { position: relative; margin: 0; height: 300px; border-radius: var(--raio-g); overflow: hidden; background: var(--tinta); }
.mosaico-grande video { width: 100%; height: 100%; object-fit: cover; }
.mosaico-grande figcaption { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 999px; padding: .45rem .9rem; font-weight: 700; font-size: .9rem; display: inline-flex; gap: .5rem; align-items: center; }
.mosaico-grande figcaption span { width: 10px; height: 10px; border-radius: 50%; background: var(--verde); }
.mosaico-coluna { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; height: 300px; }
.mosaico-coluna img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--raio-g); min-height: 0; }
.mosaico-numero { border-radius: var(--raio-g); background: var(--tinta); color: #fff; padding: 1rem 1.2rem; display: flex; flex-direction: column; justify-content: center; text-decoration: none; line-height: 1.25; font-size: .92rem; }
.mosaico-numero strong { font-family: var(--titulo); font-size: 2.6rem; line-height: 1; color: var(--sol); }
.mosaico-numero:hover { color: #fff; background: var(--escuro-2); }
.topo-home .form-interesse { border: 0; border-radius: var(--raio-g); box-shadow: var(--sombra); }

/* Faixa de números */
.numeros { background: var(--tinta); color: #fff; }
.numeros-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.numeros p { margin: 0; display: flex; align-items: center; gap: .9rem; line-height: 1.3; font-size: .95rem; }
.numeros strong { font-family: var(--titulo); font-size: 2.8rem; line-height: 1; color: var(--sol); }
.numeros p:nth-child(even) strong { color: var(--verde-vivo); }

/* ---------- Teste de carreira ---------- */
.quiz-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quiz-texto { font-size: 1.15rem; color: var(--tinta-2); }
.quiz-opcoes { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.quiz-resultado { border-radius: var(--raio-g); padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--menta-2); }
.quiz-resultado.cor-sol { background: var(--sol-claro); }
.quiz-resultado.cor-ceu { background: var(--ceu); }
.quiz-resultado.cor-pessego { background: var(--pessego); }
.quiz-rotulo { font-weight: 700; margin: 0 0 .3rem; font-size: .95rem; }
.quiz-titulo { font-family: var(--titulo); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1.2rem; }
.quiz-cursos { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.quiz-cursos a { background: #fff; border-radius: 22px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--tinta); display: flex; flex-direction: column; gap: .35rem; min-height: 120px; transition: transform .2s, box-shadow .2s; }
.quiz-cursos a:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(16, 49, 63, .5); color: var(--tinta); }
.quiz-tipo { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--verde-escuro); min-height: 1em; }
.quiz-mec { color: #8a5d0f; }
.quiz-cursos strong { font-size: 1.05rem; line-height: 1.25; }
.quiz-ver { margin-top: auto; display: inline-flex; gap: .35rem; align-items: center; font-weight: 600; font-size: .9rem; color: var(--verde-escuro); }

/* ---------- Caminhos em mosaico (bento) ---------- */
.bentos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 18px; }
.bento { position: relative; border-radius: var(--raio-g); overflow: hidden; text-decoration: none; color: #fff; background: var(--tinta); padding: 1.8rem; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; transition: transform .25s, box-shadow .25s; }
.bento:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(16, 49, 63, .55); color: #fff; }
.bento > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: -2; opacity: .55; transition: transform .5s; }
.bento:hover > img { transform: scale(1.05); }
.bento-foto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 49, 63, 0) 30%, rgba(16, 49, 63, .85) 100%); }
.bento-base { margin-top: auto; display: flex; flex-direction: column; gap: .4rem; }
.bento strong { font-family: var(--titulo); font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; }
.bento-base > span { font-size: 1rem; line-height: 1.4; max-width: 30rem; }
.bento-selo { align-self: flex-start; background: var(--sol); color: var(--tinta); font-weight: 700; border-radius: 999px; padding: .3rem .85rem; font-size: .85rem; }
.bento-selo-escuro { background: var(--tinta); color: #fff; }
.bento-selo-verde { background: var(--menta); color: var(--verde-escuro); }
.bento-info { grid-column: span 2; grid-row: span 2; }
.bento-info strong { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: .95; }
.bento-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .4rem; }
.bento-chips span { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: .3rem .8rem; font-size: .88rem; }
.bento-kids { grid-column: span 2; background: var(--sol); color: var(--tinta); }
.bento-kids::before, .bento-kids::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.bento-kids::before { right: -40px; top: -40px; width: 200px; height: 200px; background: var(--sol-claro); }
.bento-kids::after { right: 90px; bottom: -60px; width: 140px; height: 140px; background: var(--verde-vivo); }
.bento-kids:hover { color: var(--tinta); }
.bento-kids strong { font-size: 2.6rem; }
.bento-mec { background: var(--verde-escuro); }
.bento-mec-selo { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--sol); color: var(--sol); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; }
.bento-largo { grid-column: span 2; }
.bento-claro { background: #fff; color: var(--tinta); border: 2px solid var(--linha); }
.bento-claro:hover { color: var(--tinta); }
.bento-claro .bento-base > span { color: var(--tinta-2); }

/* ---------- Bloco MEC ---------- */
.mec { padding: clamp(3rem, 6vw, 5rem) 0; }
.mec-in { background: var(--menta); border-radius: 40px; padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: auto minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.4rem; align-items: center; }
.mec-selo { width: 150px; height: 150px; border-radius: 50%; background: #fff; border: 6px solid var(--sol); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--tinta); }
.mec-selo .ic { width: 44px; height: 44px; color: var(--verde-escuro); }
.mec-selo span { font-family: var(--titulo); font-weight: 800; font-size: 1.6rem; }
.mec h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.mec-texto p { color: var(--tinta-2); font-size: 1.1rem; }
.mec-fatos { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.mec-fatos li { background: #fff; border-radius: 18px; padding: .9rem 1.1rem; }
.mec-fatos strong { display: block; font-family: var(--titulo); font-size: 1.1rem; font-weight: 800; }
.mec-fatos span { font-size: .92rem; color: var(--tinta-2); }
.mec-compacto .mec-fatos { display: none; }

/* ---------- Eixos técnicos ---------- */
.eixos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eixos a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .15rem 1rem; align-content: center; padding: 1.2rem 1.4rem; border-radius: 22px; background: var(--papel); text-decoration: none; color: var(--tinta); height: 100%; transition: background-color .2s, transform .2s; }
.eixos strong { font-family: var(--titulo); font-size: 1.2rem; font-weight: 700; line-height: 1.15; }
.eixos span { grid-column: 1; color: var(--cinza); font-size: .9rem; }
.eixos .ic { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 2.2rem; height: 2.2rem; padding: .5rem; border-radius: 50%; background: #fff; color: var(--verde-escuro); transition: transform .2s; }
.eixos a:hover { background: var(--menta); transform: translateY(-3px); }
.eixos a:hover .ic { transform: translateX(4px); }

/* ---------- Informática e Tecnologia ---------- */
.info { background: #fff; }
.info-grupos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-grupo { background: var(--papel); border-radius: 28px; padding: 1.5rem; display: flex; flex-direction: column; }
.info-grupo h3 { margin: 0 0 .8rem; font-size: 1.3rem; }
.info-grupo h3 a { color: var(--tinta); text-decoration: none; }
.info-grupo h3 a:hover { color: var(--verde-escuro); }
.info-grupo ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.info-grupo li a { display: block; padding: .45rem 0; border-bottom: 1px solid var(--linha); color: var(--tinta); text-decoration: none; font-size: .96rem; }
.info-grupo li:last-child a { border-bottom: 0; }
.info-grupo li a:hover { color: var(--verde-escuro); }
.info-mais { margin-top: .8rem; font-size: .92rem; font-weight: 700; color: var(--verde-escuro); }
.info-grupo-destaque { background: var(--tinta); }
.info-grupo-destaque h3 a, .info-grupo-destaque li a { color: #fff; border-color: rgba(255, 255, 255, .15); }
.info-grupo-destaque li a small { color: #b9cfd6; }
.info-grupo-destaque li a:hover, .info-grupo-destaque h3 a:hover { color: var(--sol); }

/* ---------- Informática Kids ---------- */
.kids { background: var(--tinta); color: #d3e3e8; position: relative; overflow: hidden; }
.kids h2 { color: #fff; }
.kids .sec-cabeca p { color: #c9dce3; }
.kids .sobretitulo { color: var(--sol); }
.kids .link-forte { color: #fff; border-color: var(--sol); }
.kids .link-forte:hover { color: var(--sol); }
.kids-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kid { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem; border-radius: 30px; text-decoration: none; color: var(--tinta); background: #fff; overflow: hidden; min-height: 250px; transition: transform .25s, box-shadow .25s; }
.kid::before { content: ""; position: absolute; right: -36px; top: -36px; width: 130px; height: 130px; border-radius: 50%; background: var(--kid-cor, var(--menta)); }
.kid:hover { transform: translateY(-6px); box-shadow: 0 22px 36px -20px rgba(0, 0, 0, .6); color: var(--tinta); }
.kid > * { position: relative; }
.kid-1 { --kid-cor: #ffe39a; } .kid-2 { --kid-cor: #bfe9ff; } .kid-3 { --kid-cor: #c7ede3; }
.kid-4 { --kid-cor: #ffd0c2; } .kid-5 { --kid-cor: #dcd3ff; } .kid-6 { --kid-cor: #ffc9de; }
.kid-serie { align-self: flex-start; font-size: .8rem; font-weight: 700; background: var(--tinta); color: #fff; padding: .28rem .75rem; border-radius: 999px; }
.kid strong { font-family: var(--titulo); font-size: 1.7rem; font-weight: 800; line-height: 1.05; }
.kid-resumo { color: var(--cinza); font-size: .96rem; }
.kid-cursos { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.kid-cursos span { font-size: .8rem; background: var(--papel); border-radius: 999px; padding: .2rem .65rem; }
.kid-ir { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--verde-escuro); }

/* ---------- Cartões de curso ---------- */
.grade-cursos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grade-3 { grid-template-columns: repeat(3, 1fr); }
.cc a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.4rem; background: #fff; border: 2px solid var(--linha); border-radius: 26px; text-decoration: none; color: var(--tinta); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cc a::before { content: ""; position: absolute; left: 1.4rem; top: 0; width: 46px; height: 5px; border-radius: 0 0 6px 6px; background: var(--verde); }
.cc-tecnico a::before { background: var(--tinta); }
.cc-informatica a::before { background: var(--verde); }
.cc-kids a::before { background: var(--sol); }
.cc-trilha a::before { background: #3f7c96; }
.cc-eja a::before { background: #e08a5b; }
.cc a:hover { border-color: var(--tinta); transform: translateY(-4px); box-shadow: 0 18px 30px -22px rgba(16, 49, 63, .5); }
.cc-topo { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin: .3rem 0 .9rem; font-size: .78rem; }
.cc-tipo { color: var(--cinza); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.cc-mec { display: inline-flex; align-items: center; gap: .25rem; color: #8a5d0f; background: var(--sol-claro); border-radius: 999px; padding: .15rem .55rem; font-weight: 700; font-size: .75rem; }
.cc-mec .ic { width: 1.2em; height: 1.2em; }
.cc h3 { font-size: 1.28rem; margin: 0 0 .35rem; line-height: 1.1; }
.cc-grupo { margin: 0 0 1rem; font-size: .9rem; color: var(--verde-escuro); font-weight: 600; }
.cc-meta { display: flex; flex-wrap: wrap; gap: .3rem; margin: auto 0 .9rem; }
.cc-meta span { font-size: .8rem; background: var(--papel); padding: .2rem .65rem; border-radius: 999px; color: var(--tinta-2); }
.cc-ver { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .93rem; color: var(--verde-escuro); margin-top: auto; }
.cc-meta + .cc-ver { margin-top: 0; }

/* ---------- Passos ---------- */
.passos { list-style: none; margin: 0; padding: 0; counter-reset: passo; display: grid; gap: 10px; }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 22px; background: var(--papel); }
.passos li::before { content: counter(passo); grid-row: span 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sol); color: var(--tinta); font-family: var(--titulo); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.passos strong { font-size: 1.08rem; }
.passos span { color: var(--cinza); }
.como .sec-cabeca .btn { margin-top: .6rem; }

/* ---------- Galeria e depoimentos (aparecem quando houver conteúdo real) ---------- */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.galeria figure { margin: 0; position: relative; border-radius: 28px; overflow: hidden; }
.galeria figure:first-child { grid-column: span 2; grid-row: span 2; }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.galeria figcaption { position: absolute; left: 12px; bottom: 12px; background: #fff; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; font-weight: 600; }
.depoimentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.depoimento { margin: 0; border-radius: 30px; padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; background: var(--menta); }
.depoimento-1 { background: var(--tinta); color: #fff; }
.depoimento-2 { background: var(--sol); }
.depoimento video { border-radius: 20px; width: 100%; }
.depoimento blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.depoimento figcaption { margin-top: auto; font-weight: 600; }

/* ---------- Unidades ---------- */
.unidades { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.unidade { background: #fff; border-radius: 32px; overflow: hidden; color: var(--tinta); }
.sec-escura .unidade { background: var(--escuro-2); color: #d3e3e8; }
.unidade-texto { padding: 1.8rem; }
.unidade-cidade { display: inline-block; font-size: .8rem; font-weight: 700; color: #fff; background: var(--tinta); border-radius: 999px; padding: .25rem .75rem; margin-bottom: .7rem; }
.unidade h3 { font-size: 1.9rem; margin-bottom: .5rem; }
.unidade-end { font-weight: 600; margin-bottom: .3rem; }
.unidade-ref { color: var(--cinza); font-size: .95rem; }
.unidade-acoes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.unidade-mapa { width: 100%; height: 260px; border: 0; background: var(--papel); }

/* ---------- Dúvidas ---------- */
.duvidas { display: grid; gap: 10px; }
.duvidas details { background: var(--papel); border-radius: 22px; padding: 0 1.4rem; }
.duvidas details[open] { background: var(--menta); }
.duvidas summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; font-size: 1.06rem; position: relative; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 600; color: var(--verde-escuro); transition: transform .2s; }
.duvidas details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.duvidas details p { color: var(--tinta-2); padding-right: 2rem; }
.mais-duvidas { margin-top: 1.4rem; }
.titulo-grupo { font-size: 1.6rem; margin: 2.2rem 0 1rem; }
.titulo-grupo:first-child { margin-top: 0; }
.duvidas-mais { margin-top: 2.5rem; padding: 1.8rem; background: var(--sol); border-radius: 30px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.duvidas-mais h2 { margin: 0; font-size: 1.6rem; }

/* ---------- Formulário de interesse ---------- */
.form-interesse { background: #fff; border: 2px solid var(--linha); border-radius: 32px; padding: clamp(1.5rem, 3vw, 2.2rem); position: relative; box-shadow: var(--sombra); }
.form-cabeca h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .2em; }
.form-cabeca p { color: var(--cinza); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.2rem 0 1rem; }
.form-compacto .campos { grid-template-columns: 1fr; gap: .85rem; }
.campo { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .93rem; }
.campo small { font-weight: 400; color: var(--cinza); }
.campo-largo { grid-column: 1 / -1; }
.campo input, .campo select, .campo textarea { font: inherit; font-weight: 400; color: var(--tinta); width: 100%; min-height: 50px; padding: .7rem 1.1rem; border: 2px solid var(--linha); border-radius: 16px; background: #f7fbfa; }
.campo textarea { resize: vertical; min-height: 90px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--verde-escuro); background: #fff; box-shadow: 0 0 0 4px rgba(0, 168, 143, .18); }
.campo [aria-invalid="true"], .campo-check [aria-invalid="true"] { border-color: #b3261e; }
.campo-chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.campo-chips legend { padding: 0; margin-bottom: .45rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 2px solid var(--linha); background: #fff; font-weight: 700; font-size: .95rem; transition: background-color .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: var(--menta); border-color: var(--verde-escuro); color: var(--verde-escuro); }
.chip input:focus-visible + span { outline: 3px solid var(--sol); outline-offset: 2px; }
.erro-campo { color: #b3261e; font-size: .86rem; font-weight: 600; }
.campo-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; margin: .5rem 0 1rem; color: var(--tinta-2); }
.campo-check input { width: 22px; height: 22px; margin-top: .1rem; accent-color: var(--verde-escuro); flex: none; }
.form-nota { font-size: .85rem; color: var(--cinza); margin: .8rem 0 0; text-align: center; }
.campo-isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-sucesso { text-align: center; padding: 1rem 0; }
.form-sucesso h2 { color: var(--verde-escuro); }
.sucesso-icone { display: inline-flex; width: 60px; height: 60px; border-radius: 50%; background: var(--menta); color: var(--verde-escuro); padding: 15px; margin-bottom: 1rem; }
.sucesso-icone .ic { width: 100%; height: 100%; }
.form-enviado > :not(.form-sucesso) { display: none; }
.form-enviado .form-sucesso { display: block; }
.aviso { padding: .9rem 1.1rem; border-radius: 16px; font-weight: 600; }
.aviso-erro { background: #fdecea; color: #8c1d18; }
.aviso-neutro { background: var(--sol-claro); padding: 1rem 1.2rem; border-radius: 18px; color: #4a3608; }
.enviando { opacity: .7; pointer-events: none; }

/* ---------- Cabeçalho das páginas internas ---------- */
.cab-pagina { background: var(--menta); color: var(--tinta); padding: clamp(2.6rem, 6vw, 4.2rem) 0; position: relative; isolation: isolate; overflow: hidden; }
.cab-pagina::before { content: ""; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: var(--menta-2); z-index: -1; }
.cab-pagina::after { content: ""; position: absolute; right: 18%; bottom: -120px; width: 220px; height: 220px; border-radius: 50%; background: var(--sol-claro); z-index: -1; }
.cab-foto { background: var(--tinta); color: #fff; }
.cab-foto::before { width: auto; height: auto; inset: 0; right: 0; top: 0; border-radius: 0; background: linear-gradient(90deg, rgba(16, 49, 63, .95) 30%, rgba(16, 49, 63, .55)), var(--foto) center / cover; }
.cab-foto::after { display: none; }
.cab-foto h1 { color: #fff; }
.cab-foto p { color: #d3e3e8 !important; }
.cab-pagina h1 { max-width: 20ch; font-size: clamp(2.3rem, 5vw, 4rem); }
.cab-pagina p { color: var(--tinta-2); font-size: 1.15rem; max-width: 44rem; margin: 0; }
.cab-mec { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem !important; background: #fff; border-radius: 999px; padding: .4rem 1rem .4rem .5rem; color: var(--tinta) !important; font-weight: 700; font-size: .95rem !important; }
.cab-mec .ic { width: 1.6em; height: 1.6em; color: var(--verde-escuro); }
.cab-kids { background: var(--sol) !important; padding-left: 1rem !important; }
.trilha { font-size: .88rem; color: var(--cinza); display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.trilha a { color: var(--cinza); }
.trilha-clara, .trilha-clara a { color: var(--tinta-2); }
.trilha-clara a:hover { color: var(--verde-escuro); }
.cab-foto .trilha-clara, .cab-foto .trilha-clara a { color: #b9ccd3; }

/* ---------- Catálogo ---------- */
.sec-cursos { padding-top: 2.6rem; }
.catalogo { display: grid; grid-template-columns: 280px 1fr; gap: 2.4rem; align-items: start; }
.filtros { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.6rem; }
.busca label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .45rem; }
.busca-campo { display: flex; align-items: center; gap: .5rem; border: 2px solid var(--linha); border-radius: 999px; padding: 0 1rem; color: var(--cinza); background: #fff; }
.busca-campo:focus-within { border-color: var(--verde-escuro); box-shadow: 0 0 0 4px rgba(0, 168, 143, .18); }
.busca-campo input { flex: 1; min-width: 0; border: 0; font: inherit; padding: .75rem 0; background: transparent; color: var(--tinta); }
.busca-campo input:focus { outline: none; }
.filtro-grupo { display: flex; flex-direction: column; gap: 2px; }
.filtro-titulo { font-size: .78rem; font-weight: 700; color: var(--cinza); margin: 0 0 .4rem; letter-spacing: .06em; text-transform: uppercase; }
.filtro-grupo a { display: flex; justify-content: space-between; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; text-decoration: none; color: var(--tinta); font-size: .95rem; font-weight: 500; }
.filtro-grupo a span { color: var(--cinza); font-size: .85rem; }
.filtro-grupo a:hover { background: var(--papel); }
.filtro-grupo a[aria-current] { background: var(--tinta); color: #fff; font-weight: 700; }
.filtro-grupo a[aria-current] span { color: var(--sol); }
.resultado { color: var(--cinza); margin: 0 0 1.2rem; font-weight: 600; }
.vazio { text-align: center; padding: 3rem 1rem; background: var(--papel); border-radius: 30px; }
.vazio p { color: var(--cinza); max-width: 34rem; margin: 0 auto 1.2rem; }

/* ---------- Página do curso ---------- */
.curso-cab { background: var(--menta); color: var(--tinta); padding: 2.4rem 0 2.8rem; position: relative; overflow: hidden; isolation: isolate; }
.curso-cab::before { content: ""; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: var(--menta-2); z-index: -1; }
.curso-cab::after { content: ""; position: absolute; right: 22%; bottom: -140px; width: 240px; height: 240px; border-radius: 50%; background: var(--sol-claro); z-index: -1; }
.pg-curso .curso-cab:has(.chip-mec) { background: var(--tinta); color: #fff; }
.pg-curso .curso-cab:has(.chip-mec)::before { background: var(--escuro-2); }
.pg-curso .curso-cab:has(.chip-mec)::after { background: rgba(95, 224, 196, .12); }
.pg-curso .curso-cab:has(.chip-mec) h1 { color: #fff; }
.pg-curso .curso-cab:has(.chip-mec) .curso-resumo { color: #c9dce3; }
.pg-curso .curso-cab:has(.chip-mec) .trilha-clara, .pg-curso .curso-cab:has(.chip-mec) .trilha-clara a { color: #9fbac4; }
.pg-curso .curso-cab:has(.chip-mec) .fatos div { background: rgba(255, 255, 255, .08); }
.pg-curso .curso-cab:has(.chip-mec) .fatos dt { color: #9fbac4; }
.pg-curso .curso-cab:has(.chip-mec) .fatos dd { color: #fff; }
.curso-cab-in > div { max-width: 56rem; }
.curso-tipo { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; color: var(--verde-escuro); font-weight: 700; margin-bottom: .6rem; }
.curso-cab:has(.chip-mec) .curso-tipo { color: var(--verde-vivo); }
.chip-mec { display: inline-flex; align-items: center; gap: .35rem; background: var(--sol); color: var(--tinta); padding: .3rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.chip-mec .ic { width: 1.3em; height: 1.3em; }
.curso-cab h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.curso-resumo { font-size: 1.18rem; color: var(--tinta-2); }
.fatos { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0 0; }
.fatos div { background: #fff; border-radius: 20px; padding: .8rem 1.2rem; }
.fatos dt { font-size: .8rem; color: var(--cinza); font-weight: 600; }
.fatos dd { margin: .1rem 0 0; font-family: var(--titulo); font-size: 1.35rem; font-weight: 800; color: var(--tinta); }
.curso-corpo { display: grid; grid-template-columns: 1fr 390px; gap: clamp(2rem, 4vw, 4rem); padding-top: 2.6rem; padding-bottom: 4rem; align-items: start; }
.indice { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 2rem; }
.indice a { font-size: .9rem; font-weight: 600; padding: .5rem 1rem; background: var(--papel); border-radius: 999px; text-decoration: none; color: var(--tinta); }
.indice a:hover { background: var(--menta); color: var(--verde-escuro); }
.bloco-curso { margin-bottom: 2.8rem; }
.bloco-curso h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 1rem; }
.bloco-curso h3 { font-size: 1.2rem; margin: 1.4rem 0 .7rem; }
.bloco-curso p { color: var(--tinta-2); }
.tabela-grade { border-radius: 26px; overflow: hidden; background: var(--papel); }
.tabela-grade table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.tabela-grade th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--cinza); padding: .9rem 1.2rem; }
.tabela-grade td { padding: .7rem 1.2rem; border-top: 1px solid var(--linha); }
.tabela-grade tbody tr:hover td { background: #fff; }
.tabela-grade td:last-child, .tabela-grade th:last-child { text-align: right; white-space: nowrap; width: 8rem; }
.tabela-grade tfoot td { font-weight: 800; background: var(--tinta); color: #fff; border: 0; padding: 1rem 1.2rem; }
.nota { font-size: .85rem; color: var(--cinza); margin-top: .8rem; }
.modulos { margin: 0; padding: 0; list-style: none; counter-reset: mod; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modulos li { counter-increment: mod; display: flex; gap: .75rem; align-items: center; padding: .75rem 1rem; border-radius: 18px; background: var(--papel); }
.modulos li::before { content: counter(mod); flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: var(--verde-escuro); font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.modulos li.mod-conteudo details { flex: 1; min-width: 0; }
.modulos li.mod-conteudo summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; }
.modulos li.mod-conteudo summary::-webkit-details-marker { display: none; }
.modulos li.mod-conteudo summary::after { content: '+'; margin-left: auto; font-weight: 800; color: var(--verde-escuro); }
.modulos li.mod-conteudo details[open] summary::after { content: '–'; }
.modulos li.mod-conteudo summary small { color: var(--verde-escuro); font-weight: 700; font-size: .8rem; }
.modulos li.mod-conteudo:has(details[open]) { grid-column: 1 / -1; align-items: flex-start; }
.modulos .aulas { margin: .6rem 0 0; padding-left: 1.2rem; display: grid; gap: .2rem; font-size: .92rem; }
.modulos .aulas li { display: list-item; padding: 0; border-radius: 0; background: none; counter-increment: none; }
.modulos .aulas li::before { content: none; }
.modulos .mod-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; font-weight: 700; font-size: .9rem; color: var(--verde-escuro); }
.modulos .mod-link svg { width: 1rem; height: 1rem; }
.aulas-curso { margin: 0; padding: 0; list-style: none; counter-reset: aula; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.aulas-curso li { counter-increment: aula; display: flex; gap: .7rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--linha, #e3e8e6); }
.aulas-curso li::before { content: counter(aula, decimal-leading-zero); flex: none; font-weight: 800; font-size: .8rem; color: var(--verde-escuro); }
.lista-formacoes { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lista-formacoes li { padding: .7rem 1rem; border-radius: 16px; background: var(--papel); }
.lista-formacoes a { font-weight: 700; }
.lista-formacoes small { color: var(--cinza); margin-left: .35rem; }
.lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lista-check li { display: flex; gap: .7rem; padding: .7rem 1rem; border-radius: 16px; background: var(--papel); }
.lista-check .ic { color: var(--verde-escuro); margin-top: .2rem; }
.curso-lateral { position: relative; }
.lateral-fixa { position: sticky; top: 96px; display: flex; flex-direction: column; gap: .8rem; }
.curso-cartaz { margin: .6rem 0 0; }
.curso-cartaz img { display: block; width: 100%; height: auto; border-radius: 26px; } /* arredondado nos 4 cantos, seja arte quadrada ou foto deitada */

/* ---------- A Fundação ---------- */
.sobre p { font-size: 1.12rem; color: var(--tinta-2); }
.sobre-slogan { font-family: var(--titulo); font-size: clamp(1.8rem, 3.2vw, 2.6rem) !important; font-weight: 800; line-height: 1.05; color: var(--verde-escuro) !important; margin-top: 1.5rem; letter-spacing: -.02em; }
.sobre-foto { margin: 0; border-radius: var(--raio-g); overflow: hidden; background: var(--menta); }
.faixa-final { background: var(--sol); color: var(--tinta); padding: clamp(2.6rem, 6vw, 4rem) 0; }
.faixa-final .sec-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.faixa-final h2 { margin: 0; max-width: 22ch; }

/* ---------- Contato / acesso / legais ---------- */
.contato-canais ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.contato-canais li a { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 22px; background: var(--papel); text-decoration: none; color: var(--tinta); }
.contato-canais li a:hover { background: var(--menta); }
.contato-canais .ic { width: 2.6rem; height: 2.6rem; padding: .65rem; border-radius: 50%; background: #fff; color: var(--verde-escuro); }
.contato-canais strong { display: block; font-size: .85rem; color: var(--cinza); font-weight: 600; }
.contato-canais span span { font-size: 1.15rem; font-weight: 700; overflow-wrap: anywhere; }
.contato-canais li a > span { min-width: 0; }
.acesso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acesso-card { border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; background: var(--papel); }
.acesso-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 20%; }
.acesso-card > div { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.acesso-card p { color: var(--cinza); flex: 1; }
.acesso-restrito img { filter: grayscale(.5); }
.acesso-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); overflow-wrap: anywhere; hyphens: auto; }
.acesso-botoes { display: flex; flex-direction: column; gap: 10px; }
.acesso-botoes .btn { width: 100%; justify-content: center; text-align: center; }
.texto-legal h2 { font-size: 1.6rem; margin-top: 2rem; }
.texto-legal p { color: var(--tinta-2); }
.obrigado { min-height: 50vh; }
.obrigado h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.botoes-linha { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--tinta); color: #b9ccd3; padding-top: 3rem; }
.rod-chamada { max-width: var(--largura); margin: 0 auto; padding: 0 1.5rem; }
.rod-chamada-in { background: var(--sol); border-radius: var(--raio-g); padding: clamp(1.6rem, 4vw, 2.6rem); display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.rod-chamada p { margin: 0; font-family: var(--titulo); font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: var(--tinta); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rodape a { color: #e6eff1; text-decoration: none; }
.rodape a:hover { color: var(--sol); }
.rodape .rod-chamada .btn-escuro, .rodape .rod-chamada .btn-escuro:hover { color: #fff; }
.rodape h3 { color: #fff; font-size: 1.2rem; margin-bottom: .8rem; }
.rodape-in { max-width: var(--largura); margin: 0 auto; padding: 3.5rem 1.5rem 2.5rem; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.9fr); gap: 2.4rem; }
.rodape-in > * { min-width: 0; }
.rod-marca img { width: 54px; margin-bottom: 1rem; }
.rod-slogan { color: #fff; font-family: var(--titulo); font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.rod-contato a, .rod-links a { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1rem; }
.rod-contato a { display: flex; margin-bottom: .4rem; }
.rod-redes { display: flex; gap: .6rem; }
.rod-redes a { width: 44px; height: 44px; border-radius: 50%; background: var(--escuro-2); display: inline-flex; align-items: center; justify-content: center; }
.rod-redes a:hover { background: var(--sol); color: var(--tinta); }
.rod-nav { display: flex; flex-direction: column; gap: .45rem; font-size: .95rem; }
.rod-unidades { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.rod-unidade { min-width: 0; }
.rod-unidade p { margin-bottom: .5rem; font-size: .93rem; overflow-wrap: anywhere; }
.rod-ref { color: #8fb0bb; font-size: .86rem !important; }
.rod-links { display: flex; flex-wrap: wrap; gap: .4rem 0; }
.rodape-base { border-top: 1px solid rgba(255, 255, 255, .1); max-width: var(--largura); margin: 0 auto; padding: 1.2rem 1.5rem 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .87rem; }
.rodape-base p { margin: 0; }
.rodape-base p a { margin-left: 1.2rem; }
.rodape-base p a:first-child { margin-left: 0; }
.wa-flutuante { position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 40; box-shadow: 0 10px 24px rgba(16, 49, 63, .35); }
.wa-flutuante .ic { width: 30px; height: 30px; }
.wa-flutuante:hover { background: #0b6e39; color: #fff; }
.barra-celular { display: none; }

/* ---------- Telas médias ---------- */
@media (max-width: 1180px) {
  .topo-cta > span:not(.ic) { display: none; }
  .topo-cta { padding: .5em .9em; }
  .grade-cursos { grid-template-columns: repeat(3, 1fr); }
  .grade-3 { grid-template-columns: repeat(2, 1fr); }
  .mec-in { grid-template-columns: auto 1fr; }
  .mec-fatos { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
  .rodape-in { grid-template-columns: 1fr 1fr 1fr; }
  .rod-unidades { grid-column: 1 / -1; }
  .curso-corpo { grid-template-columns: 1fr 340px; }
  .info-grupos { grid-template-columns: repeat(2, 1fr); }
  .kids-grade { grid-template-columns: repeat(2, 1fr); }
  .topo-home-in { grid-template-columns: 1fr; }
  .topo-home .form-interesse { max-width: 640px; }
}

/* ---------- Tablet e celular ---------- */
@media (max-width: 960px) {
  .util-links a:not(.util-aluno) { display: none; }
  .menu-botao { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--linha); padding: .6rem 1rem 1.2rem; gap: 2px; display: none; box-shadow: 0 20px 30px rgba(16, 49, 63, .15); max-height: calc(100vh - 110px); overflow-y: auto; }
  .menu-aberto .nav { display: flex; }
  .nav > a, .nav-cursos-link { padding: .9rem 1rem; font-size: 1.1rem; width: 100%; justify-content: space-between; }
  .nav-so-celular { display: flex !important; }
  .mega { position: static; box-shadow: none; border: 0; max-height: none; overflow: visible; }
  .nav-cursos:hover .mega { display: none; }
  .mega-aberto .mega { display: block !important; }
  .mega-in { grid-template-columns: 1fr; padding: .6rem .4rem 1rem; gap: 1.2rem; }
  .mega-destaque { display: none; }
  .topo-acoes { margin-left: auto; }
  .numeros-in { grid-template-columns: 1fr 1fr; }
  .quiz-in { grid-template-columns: 1fr; }
  .bentos { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
  .bento-info { grid-column: span 2; grid-row: span 2; }
  .bento-kids, .bento-largo { grid-column: span 2; }
  .mec-in { grid-template-columns: 1fr; text-align: left; }
  .mec-selo { width: 110px; height: 110px; }
  .eixos { grid-template-columns: 1fr 1fr; }
  .duas-colunas, .catalogo, .curso-corpo { grid-template-columns: 1fr; }
  .filtros { position: static; }
  .filtro-grupo { flex-direction: row; flex-wrap: wrap; gap: .4rem; }
  .filtro-titulo { width: 100%; }
  .filtro-grupo a { border: 2px solid var(--linha); padding: .4rem .9rem; font-size: .9rem; }
  .grade-cursos, .grade-3 { grid-template-columns: repeat(2, 1fr); }
  .unidades, .acesso, .depoimentos { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr 1fr; }
  .lateral-fixa { position: static; }
  .curso-cartaz { display: none; }
  .wa-flutuante { display: none; }
  .barra-celular { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; gap: 8px; padding: 8px; background: #fff; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(16, 49, 63, .5); }
  .barra-celular a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .barra-wa { background: var(--wa); color: #fff; }
  .barra-wa:hover { color: #fff; }
  .barra-cursos { background: var(--menta); color: var(--verde-escuro); }
  body { padding-bottom: 84px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .util-in { justify-content: center; }
  .util-mec > span:not(.util-selo) { display: none; }
  .util-links { display: none !important; }
  .topo-in { padding: .5rem 1rem; gap: .6rem; }
  .marca img { width: 36px; }
  .marca-nome { font-size: .7rem; }
  .marca-nome strong { font-size: 1.3rem; }
  .topo-busca { display: none; }
  .topo-cta { display: none; }
  .sec-in, .util-in { padding-left: 1rem; padding-right: 1rem; }
  h1 { font-size: 2.6rem; }
  .topo-home h1, .topo-home .topo-home-titulo { font-size: 2.4rem; }
  .topo-home-lead { font-size: 1.05rem; }
  .mosaico { grid-template-columns: 1fr; }
  .mosaico-grande { height: 220px; }
  .mosaico-coluna { display: none; }
  .numeros strong { font-size: 2.2rem; }
  .numeros p { font-size: .85rem; }
  .quiz-cursos { grid-template-columns: 1fr; }
  .quiz-cursos a { min-height: 0; }
  .bentos { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-info, .bento-kids, .bento-largo { grid-column: auto; }
  .bento-info { grid-row: span 2; }
  .bento-info strong { font-size: 2.3rem; }
  .bento-kids strong { font-size: 2.1rem; }
  .eixos { grid-template-columns: 1fr; }
  .grade-cursos, .grade-3 { grid-template-columns: 1fr; }
  .campos { grid-template-columns: 1fr; }
  .modulos { grid-template-columns: 1fr; }
  .aulas-curso { grid-template-columns: 1fr; }
  .mec-fatos { grid-template-columns: 1fr; }
  .info-grupos, .kids-grade { grid-template-columns: 1fr; }
  .rodape-in, .rod-unidades { grid-template-columns: 1fr; }
  .unidade-texto { padding: 1.3rem; }
  .tabela-grade td, .tabela-grade th { padding: .6rem .8rem; }
  .galeria { grid-template-columns: 1fr; }
  .galeria figure:first-child { grid-column: auto; grid-row: span 1; }
}
.bento-mec strong, .bento:not(.bento-info):not(.bento-kids):not(.bento-largo) strong { font-size: clamp(1.4rem, 1.9vw, 1.75rem); overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Vitrine de cursos em destaque ---------- */
.vitrine-setas { display: flex; gap: .5rem; }
.vitrine-seta { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--tinta); background: #fff; color: var(--tinta); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.vitrine-seta .ic { width: 1.3rem; height: 1.3rem; }
.vitrine-seta[data-vitrine-ant] .ic { transform: rotate(180deg); }
.vitrine-seta:hover:not(:disabled) { background: var(--tinta); color: #fff; }
.vitrine-seta:disabled { opacity: .3; cursor: default; }
.vitrine-trilho { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: thin; scrollbar-color: var(--verde) var(--menta); }
.vitrine-trilho::-webkit-scrollbar { height: 8px; }
.vitrine-trilho::-webkit-scrollbar-track { background: var(--menta); border-radius: 999px; }
.vitrine-trilho::-webkit-scrollbar-thumb { background: var(--verde); border-radius: 999px; }
.vit { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--linha); border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--tinta); transition: transform .25s, box-shadow .25s, border-color .25s; }
.vit:hover { transform: translateY(-6px); border-color: var(--tinta); box-shadow: 0 22px 36px -24px rgba(16, 49, 63, .55); color: var(--tinta); }
.vit-capa { display: block; aspect-ratio: 1 / 1; background: var(--menta); overflow: hidden; }
.vit-capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vit:hover .vit-capa img { transform: scale(1.04); }
.vit-sem-capa { height: 100%; display: flex; align-items: flex-end; padding: 1.4rem; font-family: var(--titulo); font-weight: 800; font-size: 1.5rem; line-height: 1.05; background: var(--tinta); color: #fff; }
.vit-kids .vit-sem-capa { background: var(--sol); color: var(--tinta); }
.vit-informatica .vit-sem-capa { background: var(--verde-escuro); }
.vit-corpo { display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem 1.3rem 1.3rem; flex: 1; }
.vit-tipo { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--cinza); }
.vit strong { font-family: var(--titulo); font-size: 1.15rem; font-weight: 800; line-height: 1.15; }
.vit-meta { display: flex; flex-wrap: wrap; gap: .3rem; }
.vit-meta span { font-size: .78rem; background: var(--papel); border-radius: 999px; padding: .15rem .6rem; color: var(--tinta-2); }
.vit-ver { margin-top: auto; padding-top: .3rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .93rem; color: var(--verde-escuro); }
@media (max-width: 1180px) { .vitrine-trilho { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 960px) { .vitrine-trilho { grid-auto-columns: 42%; } }
@media (max-width: 600px) { .vitrine-trilho { grid-auto-columns: 78%; gap: 14px; } .vitrine-seta { width: 46px; height: 46px; } }

/* Montserrat pede um pouco menos de aperto entre as letras */
h1, h2, h3 { letter-spacing: -.02em; }
.topo-home h1 { letter-spacing: -.035em; line-height: 1; }
.sec-cabeca-linha > .vitrine-setas { flex: none; margin-left: auto; }

/* ---------- Janela "Receba as novidades" ---------- */
html.novidades-aberta { overflow: hidden; }
.novidades { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.novidades[hidden] { display: none; }
.novidades-fundo { position: absolute; inset: 0; background: rgba(8, 30, 40, .62); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.novidades-janela { position: relative; width: min(940px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: var(--raio-g); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s cubic-bezier(.2, .9, .3, 1.2), opacity .25s; outline: none; }
.novidades-visivel .novidades-fundo { opacity: 1; }
.novidades-visivel .novidades-janela { transform: none; opacity: 1; }
.novidades-x { position: absolute; top: 12px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(16, 49, 63, .08); color: var(--tinta); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.novidades-x:hover { background: rgba(16, 49, 63, .16); }
.novidades-arte { position: relative; overflow: hidden; padding: 44px 38px; color: #fff; background:
  radial-gradient(circle at 85% 12%, rgba(255, 200, 61, .55), transparent 34%),
  radial-gradient(circle at 10% 95%, rgba(95, 224, 196, .45), transparent 40%),
  linear-gradient(150deg, var(--escuro-2) 0%, var(--verde-escuro) 58%, var(--verde) 100%); }
.novidades-arte::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .08); }
.novidades-selo { display: inline-block; margin: 0 0 14px; padding: .35em .9em; border-radius: 999px; background: var(--sol); color: var(--tinta); font-weight: 800; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .4); animation: novidades-pulso 2.4s ease-in-out infinite; }
@keyframes novidades-pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.novidades-arte h2 { color: #fff; margin: 0 0 12px; font-family: var(--titulo); font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; }
.novidades-arte h2 span { color: var(--sol); display: block; }
.novidades-sub { margin: 0 0 22px; color: rgba(255, 255, 255, .88); }
.novidades-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.novidades-lista li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.novidades-lista strong { display: block; font-size: 1rem; }
.novidades-lista span span, .novidades-lista li > span:last-child { font-size: .88rem; color: rgba(255, 255, 255, .85); }
.novidades-ic { font-size: 1.5rem; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .16); flex: none; }
.novidades-form { padding: 40px 34px 28px; display: flex; flex-direction: column; justify-content: center; }
.novidades-passo { display: grid; gap: 12px; }
.novidades-chamada { margin: 0 0 4px; font-weight: 700; color: var(--verde-escuro); }
.novidades-form label { display: grid; gap: 5px; font-weight: 700; font-size: .9rem; color: var(--tinta); }
.novidades-form input:not([type=checkbox]), .novidades-form select { width: 100%; min-height: 48px; padding: .6em .9em; border: 2px solid var(--linha); border-radius: 14px; font: inherit; font-weight: 500; background: var(--papel); color: var(--tinta); transition: border-color .2s, background .2s; }
.novidades-form input:focus, .novidades-form select:focus { outline: none; border-color: var(--verde); background: #fff; box-shadow: 0 0 0 4px rgba(0, 168, 143, .15); }
.novidades-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.novidades-form .novidades-ok { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .86rem; color: var(--cinza); }
.novidades-ok input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--verde-escuro); flex: none; }
.novidades-erro { margin: 0; padding: .6em .9em; border-radius: 12px; background: #fdecea; color: #b42318; font-weight: 600; font-size: .9rem; }
.novidades-botao { position: relative; overflow: hidden; min-height: 56px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: 1.08rem; color: var(--tinta); background: linear-gradient(90deg, var(--sol) 0%, #ffd866 50%, var(--sol) 100%); background-size: 200% 100%; box-shadow: 0 16px 30px -14px rgba(255, 170, 0, .8); transition: transform .2s, background-position .6s; }
.novidades-botao:hover { transform: translateY(-2px); background-position: 100% 0; }
.novidades-botao::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: novidades-brilho 3s ease-in-out infinite; }
@keyframes novidades-brilho { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.enviando .novidades-botao { opacity: .6; pointer-events: none; }
.novidades-depois { border: 0; background: none; color: var(--cinza); font: inherit; font-size: .88rem; cursor: pointer; text-decoration: underline; justify-self: center; }
.novidades-lgpd { margin: 0; font-size: .78rem; color: var(--cinza); text-align: center; }
.novidades-pronto { text-align: center; outline: none; }
.novidades-pronto-ic { font-size: 3.4rem; margin: 0; }
.novidades-pronto h3 { font-family: var(--titulo); font-size: 1.6rem; margin: .3em 0; color: var(--verde-escuro); }
.novidades-pronto .novidades-botao { width: 100%; margin-top: 12px; }
@media (max-width: 760px) {
  .novidades { padding: 0; align-items: end; }
  .novidades-janela { grid-template-columns: 1fr; border-radius: 28px 28px 0 0; max-height: 94vh; transform: translateY(60px); }
  .novidades-arte { padding: 30px 22px 22px; }
  .novidades-arte h2 { font-size: 1.6rem; padding-right: 36px; }
  .novidades-lista { grid-template-columns: 1fr 1fr; gap: 8px; }
  .novidades-lista li { gap: 8px; padding: 8px 10px; border-radius: 12px; }
  .novidades-lista strong { font-size: .85rem; line-height: 1.2; }
  .novidades-lista li > span:last-child { font-size: 0; }
  .novidades-lista li > span:last-child strong { font-size: .85rem; }
  .novidades-ic { width: 32px; height: 32px; font-size: 1.1rem; border-radius: 9px; }
  .novidades-sub { font-size: .92rem; margin-bottom: 14px; }
  .novidades-selo { margin-bottom: 10px; }
  .novidades-arte { padding: 24px 20px 18px; }
  .novidades-form { padding: 22px 20px 26px; }
  .novidades-x { background: rgba(255, 255, 255, .2); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .novidades-selo, .novidades-botao::after { animation: none; } }
.novidades-passo[hidden], .novidades-pronto[hidden], .novidades-erro[hidden] { display: none; }

.duas-colunas > * { min-width: 0; }
.contato-canais { min-width: 0; }
.contato-canais li a .ic { flex-shrink: 0; }

/* Matrícula online */
.form-matricula h2 { font-size: 1.25rem; margin: 1.6rem 0 .2rem; }
.form-matricula select, .form-matricula input, .form-matricula textarea { width: 100%; }
.form-matricula .consentimento { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0; font-size: .95rem; }
.form-matricula .consentimento input { width: 1.15rem; height: 1.15rem; flex: none; margin: .15rem 0 0; } /* quadradinho do lado do texto */
.form-matricula .nota-legal { font-size: .85rem; color: var(--cinza); }
.form-matricula [hidden] { display: none !important; }
@media (max-width: 640px) { .form-matricula .campos { grid-template-columns: 1fr; } }

/* Aviso de cookies */
.aviso-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; color: var(--tinta); border-radius: 18px; box-shadow: 0 12px 40px rgba(16,49,63,.25); padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies p { margin: 0; flex: 1 1 260px; font-size: .92rem; }
.aviso-cookies div { display: flex; gap: .5rem; }
@media (max-width: 760px) { .aviso-cookies { bottom: 76px; } }

.depoimento-foto { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.depoimento-nota { color: #f5a524; letter-spacing: 2px; }

/* Razão social e CNPJ de cada unidade no rodapé */
.rod-legal { font-size: .78rem; opacity: .8; line-height: 1.45; margin: .6rem 0 0; }
.rod-legal strong { font-weight: 600; }

/* ---------- Abertura da página inicial (layout B): busca + abas + cartões ---------- */
.home-busca { background: var(--papel); padding: 1rem 0 1.4rem; }
.hb-topo { display: flex; flex-direction: column; gap: .7rem; }
.hb-topo h1 { font-size: 1.55rem; margin: 0; letter-spacing: -.02em; }
.hb-form { display: flex; background: #fff; border: 1px solid var(--linha); border-radius: 999px; padding: .25rem .25rem .25rem 1rem; }
.hb-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; padding: .55rem 0; color: var(--tinta); outline: none; }
.hb-form button { border: 0; border-radius: 999px; width: 2.6rem; height: 2.6rem; background: var(--verde-escuro); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hb-form button svg { width: 1.1rem; height: 1.1rem; }
.hb-form:focus-within { border-color: var(--verde); box-shadow: 0 0 0 3px var(--menta); }
.hb-abas { display: flex; gap: .5rem; overflow-x: auto; padding: .9rem 0 .8rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hb-abas::-webkit-scrollbar { display: none; }
.hb-aba { flex: none; border-radius: 999px; padding: .5rem .95rem; font-weight: 700; font-size: .88rem; background: #fff; border: 1px solid var(--linha); color: var(--tinta); text-decoration: none; white-space: nowrap; }
.hb-aba.on { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.hb-painel { display: grid; gap: .6rem; }
.hb-painel[hidden] { display: none; }
.hb-card { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--linha); border-radius: 16px; padding: .55rem; text-decoration: none; color: var(--tinta); transition: border-color .15s, transform .15s; }
.hb-card:hover { border-color: var(--verde); }
.hb-foto { flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--menta); }
.hb-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.hb-txt { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.hb-txt strong { font-family: var(--titulo); font-size: .98rem; line-height: 1.2; }
.hb-txt small { font-size: .8rem; color: var(--cinza); }
.hb-txt em { font-style: normal; align-self: flex-start; margin-top: .25rem; font-size: .7rem; font-weight: 800; background: var(--menta); color: var(--verde-escuro); padding: .1rem .5rem; border-radius: 999px; }
.hb-ir { margin-left: auto; font-size: 1.5rem; color: var(--verde); padding-right: .3rem; }
.hb-todos { justify-content: space-between; background: var(--menta); border-style: dashed; min-height: 64px; padding-left: 1rem; }
@media (min-width: 900px) {
  .home-busca { padding: 2.4rem 0 2.6rem; }
  .hb-topo { flex-direction: row; align-items: center; gap: 2rem; }
  .hb-topo h1 { font-size: 2.4rem; flex: 1; }
  .hb-form { flex: 1; max-width: 640px; }
  .hb-aba { font-size: .95rem; padding: .6rem 1.1rem; }
  .hb-painel { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .hb-card { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; gap: 0; }
  .hb-card:hover { transform: translateY(-2px); }
  /* no computador: todas as fotos na mesma caixa (4:3), imagem inteira sem recorte */
  .hb-foto { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; background: var(--menta); }
  .hb-foto img { height: 100%; object-fit: contain; object-position: center; }
  .hb-txt { padding: .8rem 1rem 1rem; }
  .hb-txt strong { font-size: 1.1rem; }
  .hb-ir { display: none; }
  .hb-todos { align-items: flex-start; justify-content: center; min-height: 0; }
  .hb-todos .hb-txt strong { color: var(--verde-escuro); }
}


/* ---------- Pesquise por área de atuação (home) ---------- */
.hb-por-area { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hb-por-area svg { width: 1em; height: 1em; }
.areas-home { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.area-card { position: relative; min-height: 150px; border-radius: var(--raio-g); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 1rem; color: #fff; text-decoration: none; background: var(--tinta); transition: transform .25s, box-shadow .25s; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .6; transition: transform .5s; }
.area-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 49, 63, 0) 20%, rgba(16, 49, 63, .9) 100%); }
.area-card:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 18px 34px -20px rgba(16, 49, 63, .6); }
.area-card:hover img { transform: scale(1.05); }
.area-txt { display: flex; flex-direction: column; gap: .15rem; }
.area-txt strong { font-family: var(--titulo); font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.area-txt small { font-size: .85rem; opacity: .9; }
@media (max-width: 960px) { .areas-home { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .areas-home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .area-card { min-height: 120px; } }
/* Menu Cursos: linha "Por área de atuação" */
.mega-areas { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; border-top: 1px solid var(--linha); padding-top: 1.2rem; }
.mega-areas p { margin: 0; font-family: var(--titulo); font-weight: 800; font-size: 1.05rem; color: var(--tinta); }
.mega-areas ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.mega-areas a { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border: 1px solid var(--linha); border-radius: 999px; font-size: .9rem; color: var(--tinta); text-decoration: none; background: #fff; }
.mega-areas a:hover { border-color: var(--verde-escuro); color: var(--verde-escuro); }
.mega-areas span { color: var(--cinza); font-size: .8rem; font-weight: 600; }

/* =========================================================
   Versão 4 (conceito A aprovado em 08/11/2026): topo novo da página inicial,
   barra de áreas com ícones, diferenciais, cabeçalho de uma barra e ajustes de curso/catálogo.
   ========================================================= */
.marca-circulo { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--menta-2); flex: none; }
.marca-circulo img { width: 34px; }
.marca-nome small { font-size: .7rem; color: var(--cinza); margin-top: .2rem; font-weight: 600; letter-spacing: .01em; }
.topo-aluno { font-weight: 600; font-size: .92rem; color: var(--tinta-2); text-decoration: none; padding: .4rem .6rem; border-radius: 999px; white-space: nowrap; }
.topo-aluno:hover { background: var(--menta); color: var(--verde-escuro); }
.topo-cta.btn-wa { color: #fff; }
@media (max-width: 1180px) { .topo-aluno { display: none; } }
@media (max-width: 960px) { .marca-nome small { display: none; } }

/* topo da página inicial */
.h4-hero { background: linear-gradient(180deg, var(--menta) 0%, #f2f8f6 100%); position: relative; overflow: hidden; isolation: isolate; }
.h4-hero::before { content: ""; position: absolute; right: -180px; top: -220px; width: 560px; height: 560px; border-radius: 50%; background: var(--menta-2); opacity: .55; z-index: -1; }
.h4-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; padding-top: clamp(2.4rem, 5vw, 4.2rem); padding-bottom: clamp(4.5rem, 8vw, 6rem); }
.h4-hero-texto { min-width: 0; }
.h4-kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--verde-escuro); font-weight: 700; font-size: .9rem; letter-spacing: .07em; text-transform: uppercase; }
.h4-kicker svg { width: 22px; height: 22px; }
.h4-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.1rem); line-height: 1.02; margin: 0 0 1.1rem; letter-spacing: -.035em; }
.h4-hero h1 em { font-style: normal; color: var(--verde-escuro); }
.h4-sub { font-size: 1.2rem; color: var(--tinta-2); max-width: 34em; margin: 0 0 1.6rem; }
.h4-busca { display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 999px; padding: .45rem .45rem .45rem 1.2rem; box-shadow: 0 18px 40px -22px rgba(16, 49, 63, .5); max-width: 580px; }
.h4-busca > .ic { width: 22px; height: 22px; color: var(--cinza); flex: none; }
.h4-busca input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; background: transparent; color: var(--tinta); padding: .5rem 0; }
.h4-busca .btn { min-height: 46px; padding: .5em 1.2em; }
.h4-acoes { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.h4-provas { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 600; font-size: .98rem; }
.h4-provas li { display: inline-flex; align-items: center; gap: .45rem; }
.h4-provas .ic { width: 22px; height: 22px; color: var(--verde-escuro); }
.h4-foto { margin: 0; position: relative; }
.h4-foto video { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 36px; background: var(--menta-2); display: block; }
.h4-foto figcaption { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 18px; padding: .85rem 1.1rem; box-shadow: 0 20px 40px -20px rgba(16, 49, 63, .5); display: flex; gap: .7rem; align-items: center; font-weight: 700; font-size: .95rem; max-width: 270px; color: var(--tinta); }
.h4-foto figcaption svg { width: 30px; height: 30px; color: var(--verde-escuro); flex: none; }

/* barra de áreas */
.h4-areas { position: relative; z-index: 2; margin-top: -3rem; }
.h4-areas-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); background: #fff; border-radius: var(--raio); border: 1px solid var(--linha); box-shadow: 0 26px 60px -34px rgba(16, 49, 63, .55); overflow: hidden; }
.h4-areas-grade a { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding: 1.1rem .5rem; text-decoration: none; color: var(--tinta); font-weight: 700; font-size: .9rem; line-height: 1.25; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); margin: 0 -1px -1px 0; transition: background-color .2s; }
.h4-areas-grade a:hover { background: var(--papel); color: var(--tinta); }
.h4-bola { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.h4-bola svg { width: 26px; height: 26px; }
.h4-area-nome small { display: block; font-weight: 600; color: var(--cinza); font-size: .8rem; margin-top: .15rem; }

/* diferenciais */
.h4-difs-grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.h4-dif { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.5rem; }
.h4-dif-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--menta); color: var(--verde-escuro); display: grid; place-items: center; margin-bottom: .9rem; }
.h4-dif-ic svg { width: 26px; height: 26px; }
.h4-dif h3 { font-size: 1.15rem; margin: 0 0 .4rem; line-height: 1.2; }
.h4-dif p { margin: 0; color: var(--cinza); font-size: .98rem; }
.pg-v4 .vitrine { padding-top: clamp(3rem, 6vw, 4.5rem); }

@media (max-width: 1180px) { .h4-difs-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .h4-hero-in { grid-template-columns: 1fr; padding-top: 1.4rem; padding-bottom: 4rem; }
  .h4-foto { order: -1; }
  .h4-foto video { aspect-ratio: 16 / 10; border-radius: 26px; }
  .h4-foto figcaption { left: 12px; bottom: 12px; font-size: .88rem; }
  .h4-areas-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .h4-sub { font-size: 1.05rem; }
  .h4-busca .btn span { display: none; }
  .h4-areas-grade a { font-size: .82rem; padding: .9rem .3rem; }
  .h4-difs-grade { grid-template-columns: 1fr; }
}

/* página do curso: botões no topo e grade em sanfona */
.curso-cab-acoes { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.pg-curso .curso-cab:has(.chip-mec) .btn-contorno { color: #fff; border-color: rgba(255, 255, 255, .7); }
.pg-curso .curso-cab:has(.chip-mec) .btn-contorno:hover { background: #fff; color: var(--tinta); }
.grade-sanfona { display: grid; gap: 8px; }
.grade-sanfona details { border: 1px solid var(--linha); border-radius: 18px; background: #fff; }
.grade-sanfona summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .9rem 1.2rem; font-weight: 700; }
.grade-sanfona summary::-webkit-details-marker { display: none; }
.grade-sanfona summary::after { content: "+"; font-size: 1.3rem; color: var(--verde-escuro); margin-left: .4rem; }
.grade-sanfona details[open] summary::after { content: "–"; }
.grade-sanfona summary small { margin-left: auto; color: var(--cinza); font-weight: 600; white-space: nowrap; }
.grade-sanfona ol { margin: 0; padding: 0 1.4rem 1rem 2.6rem; color: var(--tinta-2); }
.grade-sanfona li { margin: .25rem 0; }
.grade-total { margin: .9rem 0 0; color: var(--cinza); }

/* catálogo: mostrar mais */
.mais-cursos { text-align: center; margin: 1.8rem 0 0; }
/* v4: ajustes depois de ver na tela */
.nav > a, .nav-cursos-link { white-space: nowrap; padding: .6rem .8rem; }
@media (min-width: 1181px) { .h4-areas-grade { grid-template-columns: repeat(11, minmax(0, 1fr)); } .h4-areas-grade a { font-size: .84rem; padding: 1rem .35rem; } }
@media (min-width: 961px) and (max-width: 1180px) { .h4-areas-grade { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.bento strong { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.bento:not(.bento-info):not(.bento-largo):not(.bento-kids) strong { font-size: clamp(1.25rem, 1.9vw, 1.6rem); }
.topo-cta { white-space: nowrap; }
@media (max-width: 1320px) { .topo-aluno { display: none; } .marca-nome small { display: none; } .topo-cta > span:not(.ic) { display: none; } .topo-cta { padding: .5em .9em; } .topo-in { gap: 1rem; } }
@media (max-width: 1100px) { .nav > a, .nav-cursos-link { padding: .55rem .55rem; font-size: .95rem; } }
@media (max-width: 1520px) { .topo-aluno { display: none; } }
