/* ══════════════════════════════════════════════════════════
   GASPARTEC — Instituto Tecnológico Gasparense
   Folha principal (redesign 2026). Efeitos da biblioteca em
   assets/css/fx.css (cópia fiel); aqui ficam só os ajustes de
   contexto (cor, tamanho, posição) de cada efeito.
   ══════════════════════════════════════════════════════════ */

:root {
  --navy: #182059;
  --navy-9: #0f1850;
  --navy-7: #26307a;
  --cyan: #00b5e7;
  --gelo: #eef6fb;
  --papel: #ffffff;
  --texto: #1b2150;
  --suave: #545b83;
  --linha: #d8e3ee;

  --display: "Sora", "Open Sans", system-ui, sans-serif;
  --corpo: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --border: rgba(255, 255, 255, .14);

  --raio-g: 28px;
  --raio-m: 18px;
  --raio-p: 10px;
  --largura: 1200px;
  --pad: clamp(20px, 4.5vw, 44px);
  --topo-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--corpo);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: inherit; line-height: 1.12; letter-spacing: -.015em; }
h1 strong, h2 strong { font-weight: inherit; }
::selection { background: var(--cyan); color: var(--navy-9); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.pular {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--cyan); color: var(--navy-9); font-weight: 700;
  padding: .7rem 1.1rem; border-radius: 0 0 10px 0; text-decoration: none;
}
.pular:focus { left: 0; }

.faixa { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.7rem; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--ciano { background: var(--cyan); color: var(--navy-9); }
.btn--ciano:hover { background: #fff; }
.btn--contorno { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--contorno:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-7); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ══════════ TOPO ══════════ */
.topo {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.topo.rolou { border-bottom-color: var(--linha); box-shadow: 0 10px 30px -22px rgba(15, 24, 80, .5); }
.topo__in {
  max-width: var(--largura); margin: 0 auto; padding: 0 var(--pad);
  height: var(--topo-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.topo__marca img { height: 54px; width: auto; }
.topo__nav { display: flex; align-items: center; gap: .35rem; }
.topo__nav a {
  position: relative; text-decoration: none; color: var(--navy);
  font-family: var(--display); font-weight: 500; font-size: .98rem;
  padding: .55rem .95rem; border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.topo__nav a:hover { background: var(--gelo); }
.topo__nav a[aria-current="page"] { background: var(--navy); color: #fff; }

.topo__menu-btn {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: var(--gelo); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.topo__menu-btn span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.topo__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topo__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topo__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════ HERO (Home) ══════════ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1100px 520px at 88% 18%, rgba(0, 181, 231, .20), transparent 62%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-9) 100%);
  color: #fff;
}
/* FX.j13 como malha de fundo do hero */
.hero .js-fugir {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; border-radius: 0; background: transparent; z-index: 0;
  opacity: .4;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 30%, #000 20%, rgba(0, 0, 0, .35) 70%, rgba(0, 0, 0, .15) 100%);
  mask-image: radial-gradient(120% 90% at 78% 30%, #000 20%, rgba(0, 0, 0, .35) 70%, rgba(0, 0, 0, .15) 100%);
}
.hero__grade {
  position: relative; z-index: 1; pointer-events: none;
  max-width: var(--largura); margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) var(--pad) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 5vw, 72px);
}
.hero__grade a, .hero__grade button { pointer-events: auto; }
.hero__texto { max-width: 40rem; }

/* FX.j17 no hero */
.hero .js-troca {
  justify-content: flex-start; font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.3; font-weight: 500; color: rgba(255, 255, 255, .86); gap: .45em;
  margin-bottom: 1.4rem;
}
.hero .js-troca .janela span { color: var(--cyan); font-weight: 700; }

.hero h1 {
  font-size: clamp(1.8rem, 4.9vw, 3.9rem);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  text-wrap: balance;
}
.hero__sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #c9cfee; max-width: 34rem; }
.hero__acoes { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__cubo { justify-self: center; width: min(100%, 420px); }
.hero__cubo img {
  width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35));
  animation: flutua 7s ease-in-out infinite;
}
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* três razões — sem caixas, divididas por fio ciano */
.razoes {
  position: relative; z-index: 1; pointer-events: none;
  max-width: var(--largura); margin: 0 auto;
  padding: 0 var(--pad) clamp(64px, 9vw, 110px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px);
}
.razao { border-top: 2px solid var(--cyan); padding-top: 1.4rem; }
.razao h3 { font-size: 1.28rem; font-weight: 600; margin-bottom: .7rem; color: #fff; }
.razao p { color: #b9c0e6; font-size: 1rem; }

/* ══════════ SEÇÕES GENÉRICAS ══════════ */
.secao { padding: clamp(72px, 10vw, 128px) 0; }
.secao--gelo { background: var(--gelo); }
.secao__cabeca { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }
.secao__cabeca h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--navy); text-wrap: balance; }
.secao__cabeca p { margin-top: 1rem; color: var(--suave); font-size: 1.1rem; }

/* ---------- Home: formação prática ---------- */
.pratica { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.pratica__intro { position: sticky; top: calc(var(--topo-h) + 32px); }
.pratica__intro h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; color: var(--navy); text-wrap: balance; margin-bottom: 1.4rem; }
/* FX.j16 sobre fundo claro */
.pratica .js-split {
  font-family: var(--corpo); font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.6; color: var(--suave); max-width: 32rem;
}
.pratica__lista { display: grid; gap: clamp(28px, 4vw, 44px); }
.pilar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; }
.pilar:nth-child(even) .pilar__img { order: 2; }
.pilar__img { border-radius: var(--raio-g); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.pilar__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pilar:hover .pilar__img img { transform: scale(1.04); }
.pilar h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: .6rem; color: var(--navy); }
.pilar p { color: var(--suave); }

/* ---------- Home: chamada com FX.j32 ---------- */
.chamada { position: relative; overflow: hidden; background: var(--navy-9); color: #fff; text-align: center; }
.chamada .js-texto-part {
  height: clamp(150px, 20vw, 230px); border: 0; border-radius: 0; background: transparent;
  max-width: 900px; margin: 0 auto;
}
.fx-alternativo { display: none; font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 4.5rem); letter-spacing: .04em; }
.chamada p { font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; max-width: 30rem; margin: .6rem auto 0; color: #d6dbf4; text-wrap: balance; }
.chamada__acoes { margin-top: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }

/* ══════════ PÁGINAS INTERNAS ══════════ */
.cabeca-pagina {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 380px at 92% 0%, rgba(0, 181, 231, .22), transparent 65%),
    var(--navy);
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
}
.cabeca-pagina::after {
  content: ""; position: absolute; right: clamp(-120px, -6vw, -40px); bottom: -70px;
  width: clamp(220px, 28vw, 380px); aspect-ratio: 640 / 680;
  background: url(assets/otimizadas/cubo.png) no-repeat center / contain;
  opacity: .12; pointer-events: none;
}
.cabeca-pagina .faixa { position: relative; z-index: 1; }
.cabeca-pagina h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 700; letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
.cabeca-pagina__sub { margin-top: 1.2rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c9cfee; max-width: 38rem; }
.cabeca-pagina__sub strong { color: #fff; }

/* FX.j16 no título da Formação */
.cabeca-pagina .js-split { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; color: #fff; }

.fatos { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--raio-m); overflow: hidden; max-width: 900px; }
.fato { background: var(--navy); padding: 1.1rem 1.2rem; }
.fato dt { font-size: .86rem; color: #aeb6e2; }
.fato dd { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: #fff; margin-top: .15rem; }

/* ---------- Formação: perguntas ---------- */
.perguntas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.pergunta__img { border-radius: var(--raio-g); overflow: hidden; background: #fbf6ec; aspect-ratio: 1 / 1; margin-bottom: 1.4rem; }
.pergunta__img img { width: 100%; height: 100%; object-fit: cover; }
.pergunta h3 { font-size: 1.3rem; font-weight: 600; color: var(--navy); margin-bottom: .6rem; }
.pergunta p { color: var(--suave); }

/* ---------- Formação: grade ---------- */
.grade { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.disciplina { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--linha); }
.disciplina::before {
  content: ""; width: 14px; height: 14px; margin-top: .45rem; transform: rotate(45deg);
  border-radius: 3px; background: var(--cyan); box-shadow: 4px 4px 0 var(--navy);
}
.disciplina h3 { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: .45rem; }
.disciplina p { color: var(--suave); font-size: 1rem; }

/* ---------- Formação: diferenciais ---------- */
.diferenciais { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.diferencial { background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio-g); overflow: hidden; display: flex; flex-direction: column; }
.diferencial img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #fbf6ec; }
.diferencial__txt { padding: 1.5rem 1.6rem 1.8rem; }
.diferencial h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; color: var(--navy); margin-bottom: .5rem; }
.diferencial p { color: var(--suave); }

/* ---------- Formação: professor ---------- */
.professor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: var(--raio-g); overflow: hidden; background: var(--navy); color: #fff; }
.professor__foto img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.professor__txt { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.professor__txt h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }
.estrelas { color: var(--cyan); letter-spacing: 4px; font-size: 1.2rem; margin: .8rem 0 1.2rem; }
.professor__txt p { color: #d0d5f0; max-width: 34rem; }
.professor__links { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .7rem; }

/* ══════════ CONTATO ══════════ */
.contato-sec {
  position: relative; color: #fff;
  background: linear-gradient(115deg, rgba(15, 24, 80, .96) 0%, rgba(24, 32, 89, .88) 55%, rgba(24, 32, 89, .7) 100%),
              url(assets/otimizadas/contato.jpg) no-repeat center / cover, var(--navy);
  padding: clamp(56px, 8vw, 104px) 0;
}
.contato-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contato-intro h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -.03em; }
.contato-intro > p { margin-top: 1.1rem; font-size: 1.15rem; color: #c9cfee; max-width: 30rem; }
.canais { list-style: none; margin-top: 2.4rem; display: grid; gap: 1.2rem; }
.canal { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .9rem; align-items: start; }
.canal__ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 181, 231, .14); display: grid; place-items: center; color: var(--cyan); }
.canal__ico svg { width: 22px; height: 22px; }
.canal strong { display: block; font-family: var(--display); font-weight: 600; font-size: .95rem; color: #fff; }
.canal span, .canal a { color: #c9cfee; text-decoration: none; }
.canal a:hover { color: #fff; text-decoration: underline; }

.form {
  background: var(--papel); color: var(--texto); border-radius: var(--raio-g);
  padding: clamp(26px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}
.form h2 { font-size: 1.45rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.form__nota { color: var(--suave); font-size: .95rem; margin-bottom: .4rem; }
.campo { margin-top: 1.1rem; }
.campo label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .4rem; }
.campo input, .campo textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texto);
  background: var(--gelo); border: 1.5px solid var(--linha); border-radius: var(--raio-p);
  padding: .8rem .95rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.campo textarea { resize: vertical; min-height: 140px; }
.campo input::placeholder, .campo textarea::placeholder { color: #8a90ad; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(0, 181, 231, .18); }
.campo.invalido input, .campo.invalido textarea { border-color: #c0392b; background: #fff6f5; }
.campo__erro { display: none; color: #b03224; font-size: .86rem; margin-top: .35rem; }
.campo.invalido .campo__erro { display: block; }
.linha2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form__alerta { margin-top: 1.1rem; padding: .8rem 1rem; border-radius: var(--raio-p); background: #fff1ef; color: #9d2a1e; font-size: .95rem; }
.form__alerta[hidden] { display: none; }
.form .btn { margin-top: 1.6rem; width: 100%; }
.form__dica { margin-top: .8rem; font-size: .88rem; color: var(--suave); text-align: center; }

/* ══════════ TERMOS ══════════ */
.termos { max-width: 46rem; }
.termos h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 700; color: var(--navy); margin-bottom: 1.2rem; }
.termos h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin: 2.2rem 0 .5rem; padding-top: 1.4rem; border-top: 1px solid var(--linha); }
.termos p { color: #3a416b; margin-bottom: 1rem; }
.termos strong { color: var(--navy); }

/* ══════════ RODAPÉ ══════════ */
.rodape { background: var(--navy-9); color: #d6dbf4; font-size: .98rem; }
.rodape__topo {
  max-width: var(--largura); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--pad) 48px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px);
}
.rodape__logo { width: 190px; margin-bottom: 1.2rem; }
.rodape__sobre p { max-width: 22rem; line-height: 1.7; }
.rodape__sobre strong { color: #fff; }
.rodape h2 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.rodape address { font-style: normal; line-height: 1.7; }
.rodape a { color: #d6dbf4; text-decoration: none; transition: color .2s ease; }
.rodape a:hover { color: var(--cyan); }
.rodape__lista { list-style: none; display: grid; gap: .45rem; }
.rodape__lista + h2 { margin-top: 1.8rem; }
.rodape__email { display: inline-block; margin-top: .8rem; }
.redes { list-style: none; display: flex; gap: .7rem; margin-top: 1.4rem; }
.redes a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); transition: background-color .2s ease, transform .2s ease; }
.redes a:hover { background: rgba(0, 181, 231, .25); transform: translateY(-2px); }
.redes img { width: 26px; height: 26px; border-radius: 6px; }

.rodape__base { border-top: 1px solid rgba(255, 255, 255, .12); }
.rodape__base-in {
  max-width: var(--largura); margin: 0 auto; padding: 22px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap;
}
.rodape__base p { font-size: .86rem; color: #aab2de; line-height: 1.6; }
.mantenedores { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; font-size: .86rem; color: #aab2de; }
.mantenedores a { display: block; opacity: .85; transition: opacity .2s ease; }
.mantenedores a:hover { opacity: 1; }
.mantenedores img { height: 30px; width: auto; }

/* ══════════ REVEAL (mesmas classes do site original) ══════════ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.left { transform: translateX(-28px); }
.js .reveal.right { transform: translateX(28px); }
.js .reveal.active { opacity: 1; transform: none; }
.js .fx-aguarda { opacity: 0; }

/* ══════════ RESPONSIVO ══════════ */
@media (max-width: 1024px) {
  .hero__grade { grid-template-columns: 1fr; }
  .hero__cubo { display: none; }
  .pratica { grid-template-columns: 1fr; }
  .pratica__intro { position: static; }
  .perguntas { grid-template-columns: 1fr 1fr; }
  .perguntas .pergunta:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 36px); align-items: center; }
  .perguntas .pergunta:last-child .pergunta__img { margin-bottom: 0; grid-row: span 2; }
  .contato-grade { grid-template-columns: 1fr; }
  .rodape__topo { grid-template-columns: 1fr 1fr; }
  .rodape__sobre { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --topo-h: 66px; }
  .topo__marca img { height: 46px; }
  .topo__menu-btn { display: flex; }
  .topo__nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; padding: .8rem var(--pad) 1.2rem;
    border-bottom: 1px solid var(--linha); box-shadow: 0 24px 40px -28px rgba(15, 24, 80, .6);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .topo__nav.aberto { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .topo__nav a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .razoes { grid-template-columns: 1fr; }
  .pilar, .pilar:nth-child(even) { grid-template-columns: 1fr; }
  .pilar:nth-child(even) .pilar__img { order: 0; }
  .grade { grid-template-columns: 1fr; }
  .diferenciais { grid-template-columns: 1fr; }
  .professor { grid-template-columns: 1fr; }
  .professor__foto img { max-height: 420px; }
  .fatos { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .perguntas { grid-template-columns: 1fr; }
  .perguntas .pergunta:last-child { display: block; }
  .perguntas .pergunta:last-child .pergunta__img { margin-bottom: 1.4rem; }
  .linha2 { grid-template-columns: 1fr; }
  .hero__acoes .btn, .chamada__acoes .btn { width: 100%; }
  .rodape__topo { grid-template-columns: 1fr; }
  .rodape__base-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .fatos { grid-template-columns: 1fr; }
  .topo__marca img { height: 40px; }
}

/* ══════════ MOVIMENTO REDUZIDO ══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal.left, .js .reveal.right { opacity: 1; transform: none; }
  .js .fx-aguarda { opacity: 1; }
  .chamada .js-texto-part { display: none; }
  .fx-alternativo { display: block; }
}

/* texto só para leitores de tela */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rodape { border-top: 1px solid rgba(255, 255, 255, .08); }

/* ══════════ PRÉ-MATRÍCULA ══════════ */
.pm-secao { padding-top: clamp(48px, 7vw, 88px); }
.pm-grade { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }

.pm-lado { position: sticky; top: calc(var(--topo-h) + 28px); }
.pm-lado h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 700; color: var(--navy); margin-bottom: 1.4rem; }
.pm-passos { list-style: none; counter-reset: passo; display: grid; gap: 1.3rem; }
.pm-passos li { counter-increment: passo; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: .9rem; }
.pm-passos li::before {
  content: counter(passo); grid-row: span 2; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-family: var(--display); font-weight: 700;
}
.pm-passos strong { font-family: var(--display); font-weight: 600; color: var(--navy); line-height: 1.3; }
.pm-passos span { color: var(--suave); font-size: .95rem; }
.pm-aviso { margin-top: 2rem; padding: 1.1rem 1.2rem; border-left: 3px solid var(--cyan); background: #fff; border-radius: 0 var(--raio-p) var(--raio-p) 0; }
.pm-aviso strong { font-family: var(--display); color: var(--navy); }
.pm-aviso p { color: var(--suave); font-size: .95rem; margin-top: .25rem; }
.pm-duvida { margin-top: 1.4rem; font-size: .95rem; color: var(--suave); }
.pm-duvida a { color: var(--navy); font-weight: 600; }

.pm-form { box-shadow: 0 30px 70px -45px rgba(15, 24, 80, .45); border: 1px solid var(--linha); }
.pm-bloco { border: 0; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--linha); min-width: 0; }
.pm-bloco:first-of-type { margin-top: 1.2rem; }
.pm-bloco[hidden] { display: none; }
.pm-bloco legend { display: flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--navy); padding: 0; float: left; width: 100%; margin-bottom: .35rem; }
.pm-bloco legend + * { clear: both; }
.pm-num { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--cyan); color: var(--navy-9); font-size: .92rem; flex-shrink: 0; }
.pm-bloco__nota { margin-top: .9rem; padding: .75rem .95rem; border-radius: var(--raio-p); background: var(--gelo); color: var(--suave); font-size: .93rem; clear: both; }
.pm-resp { animation: pmEntra .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes pmEntra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.obrig { color: #b03224; }
.opc { font-weight: 400; color: var(--suave); font-size: .85rem; }
.campo__rotulo { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .4rem; }
.campo__ajuda { color: var(--suave); font-size: .86rem; margin-top: .35rem; }
.campo__ajuda:empty { display: none; }
.campo[hidden] { display: none; }

.campo select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texto);
  background-color: var(--gelo); border: 1.5px solid var(--linha); border-radius: var(--raio-p);
  padding: .8rem 2.4rem .8rem .95rem; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23182059' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.campo select:focus { outline: none; border-color: var(--cyan); background-color: #fff; box-shadow: 0 0 0 4px rgba(0, 181, 231, .18); }
.campo.invalido select { border-color: #c0392b; background-color: #fff6f5; }
.campo input[type="date"] { min-height: 52px; }

.linha3 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) 110px; gap: 0 1rem; }
.linha-cep { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 0 1rem; }

/* opções em cartão (modalidade / turno) */
.opcoes { display: grid; gap: .7rem; }
.opcoes--2 { grid-template-columns: 1fr 1fr; }
.opcoes--3 { grid-template-columns: repeat(3, 1fr); }
.opcao { position: relative; cursor: pointer; display: block; }
.opcao input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcao__caixa {
  display: flex; flex-direction: column; gap: .15rem; height: 100%;
  padding: .9rem 1rem .9rem 2.7rem; border-radius: var(--raio-p);
  border: 1.5px solid var(--linha); background: var(--gelo); position: relative;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.opcao__caixa::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #9aa3c4; background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.opcao--compacta .opcao__caixa { padding-top: .8rem; padding-bottom: .8rem; justify-content: center; }
.opcao--compacta .opcao__caixa::before { top: 50%; margin-top: -9px; }
.opcao__caixa strong { font-family: var(--display); font-weight: 600; color: var(--navy); font-size: 1rem; }
.opcao__caixa small { color: var(--suave); font-size: .86rem; line-height: 1.4; }
.opcao:hover .opcao__caixa { border-color: #a9c6dc; }
.opcao input:checked + .opcao__caixa { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 1px var(--navy); }
.opcao input:checked + .opcao__caixa::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px #fff; background: var(--cyan); }
.opcao input:focus-visible + .opcao__caixa { outline: 3px solid var(--cyan); outline-offset: 2px; }
.campo.invalido .opcao__caixa { border-color: #e2a59d; }

/* checkbox */
.campo--check { margin-top: 1.2rem; }
.check { display: grid !important; grid-template-columns: 22px minmax(0, 1fr); gap: .75rem; align-items: start; font-weight: 400 !important; color: var(--texto) !important; font-size: .95rem !important; line-height: 1.55; cursor: pointer; margin: 0 !important; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy); cursor: pointer; }
.check a { color: var(--navy); font-weight: 600; }
.campo.invalido .check span { color: #9d2a1e; }

.pm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pm-form .btn { margin-top: 1.8rem; }
.btn.carregando { opacity: .75; cursor: progress; }
.btn.carregando svg { animation: pmPulsa 1s ease-in-out infinite; }
@keyframes pmPulsa { 50% { transform: translateX(4px); } }
.form__alerta a { color: #9d2a1e; font-weight: 700; }

/* sucesso */
.pm-sucesso { text-align: center; border: 1px solid var(--linha); outline: none; }
.pm-sucesso__ico { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; background: rgba(0, 181, 231, .14); color: var(--navy); display: grid; place-items: center; }
.pm-sucesso__ico svg { width: 36px; height: 36px; }
.pm-sucesso h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.pm-sucesso p { color: var(--suave); max-width: 32rem; margin: .8rem auto 0; }
.pm-sucesso strong { color: var(--navy); }
.pm-protocolo {
  display: inline-block; margin-top: 1rem !important; padding: .7rem 1.4rem; border-radius: var(--raio-p);
  background: var(--navy); color: #fff !important; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em;
}
.pm-sucesso .btn { width: auto; margin-top: 1.6rem; }
.pm-voltar { display: block; margin-top: 1.1rem; color: var(--navy); font-weight: 600; font-size: .95rem; }

.cabeca-pagina__cta { margin-top: 2rem; }

@media (max-width: 1024px) {
  .pm-grade { grid-template-columns: 1fr; }
  .pm-lado { position: static; }
  .pm-passos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pm-passos li { grid-template-columns: 1fr; row-gap: .5rem; }
  .pm-passos li::before { grid-row: auto; }
}
@media (max-width: 760px) {
  .pm-passos { grid-template-columns: 1fr; }
  .pm-passos li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 0; }
  .pm-passos li::before { grid-row: span 2; }
}
@media (max-width: 600px) {
  .linha3 { grid-template-columns: 1fr 96px; }
  .linha3 .campo:first-child { grid-column: 1 / -1; }
  .linha-cep { grid-template-columns: 1fr; }
  .opcoes--2 { grid-template-columns: 1fr; }
  .opcoes--3 { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .opcoes--3 .opcao__caixa { padding-left: 2.3rem; padding-right: .5rem; }
  .opcoes--3 .opcao__caixa::before { left: .75rem; }
}
@media (max-width: 380px) {
  .opcoes--3 { grid-template-columns: 1fr; }
}
