/* ==========================================================
   BrasilTec — ensino a distância
   Paleta extraída da logo: azul #0043A6 · grafite #393E44
   ========================================================== */

:root {
  --azul: #0043A6;
  --azul-600: #003A92;
  --azul-700: #00307C;
  --azul-800: #002561;
  --azul-900: #001A45;
  --azul-claro: #2E72DA;
  --azul-300: #8EB0E6;
  --azul-100: #E2EBFA;
  --azul-50: #F1F5FD;

  --grafite: #393E44;
  --grafite-800: #2B2F34;
  --grafite-900: #1F2226;

  --texto: #393E44;
  --texto-2: #5D636B;
  --texto-3: #8A9098;
  --linha: #E3E7EE;
  --fundo: #F5F7FB;
  --branco: #FFFFFF;

  --wa: #25D366;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sombra-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
  --sombra: 0 14px 32px -14px rgba(0, 37, 97, .28);
  --sombra-lg: 0 30px 60px -22px rgba(0, 37, 97, .38);

  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--grafite-900); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--azul-300); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; color: var(--azul); padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2;
  white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .i { width: 18px; height: 18px; }
.btn-primary { background: var(--azul); color: #fff; }
.btn-primary:hover { background: var(--azul-700); box-shadow: 0 12px 24px -12px rgba(0, 67, 166, .7); }
.btn-white { background: #fff; color: var(--azul); }
.btn-white:hover { box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .45); }
.btn-outline-white { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--linha); background: #fff; display: grid; place-items: center; color: var(--grafite-900); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex: none; animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Títulos de seção ---------- */
.section { padding: 104px 0; }
@media (max-width: 700px) { .section { padding: 68px 0; } }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 16px; letter-spacing: -.02em; }
.section-head p { color: var(--texto-2); font-size: 17px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul);
}
.kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker.light { color: #C4D6F7; }

/* sublinhado "pincelado" — eco do traço azul da marca */
.u { position: relative; color: var(--azul); white-space: nowrap; }
.u::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.2em; height: .34em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 55 2, 125 1, 197 8' fill='none' stroke='%230043A6' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

mark {
  background: #fff; color: var(--azul);
  padding: 0 .22em; border-radius: .28em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Barra superior ---------- */
.topbar { background: var(--grafite-900); color: #CDD1D7; font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { display: flex; align-items: center; gap: 8px; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar .i { width: 16px; height: 16px; color: var(--azul-300); }
.topbar-ig { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; }
.topbar-ig:hover { color: var(--azul-300); }
@media (max-width: 720px) {
  .topbar-ig { display: none; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar p { font-size: 12px; }
}

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linha);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 8px 28px -14px rgba(0, 37, 97, .3); }
.header-main { display: flex; align-items: center; gap: 20px; height: 78px; }
.logo { flex: none; }
.logo img { height: 46px; width: auto; }

.search {
  flex: 1; max-width: 380px; height: 46px;
  display: flex; align-items: center; gap: 10px; padding: 0 16px;
  background: var(--fundo); border: 1px solid var(--linha); border-radius: 999px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.search:focus-within { background: #fff; border-color: var(--azul); box-shadow: 0 0 0 4px var(--azul-100); }
.search .i { color: var(--texto-3); width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--texto); }
.search input::placeholder { color: var(--texto-3); }

.btn-consultor {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 999px;
  border: 1.5px solid var(--azul-100); background: var(--azul-50); color: var(--azul);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.btn-consultor:hover { border-color: var(--azul); background: #fff; }
.btn-consultor .txt-short { display: none; }

/* Botão do Diretor Executivo no topo (WhatsApp) */
.btn-diretor {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--linha); background: #fff; color: var(--grafite-900);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.btn-diretor .i { width: 18px; height: 18px; color: var(--wa); }
.btn-diretor:hover { border-color: var(--wa); color: var(--azul); }
.btn-diretor .txt-short { display: none; }

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linha); background: #fff; place-items: center; color: var(--grafite-900); }

.nav { border-top: 1px solid var(--linha); }
.nav-inner { display: flex; align-items: center; gap: 2px; height: 50px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 50px; padding: 0 14px; border: 0; background: none;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--grafite);
  transition: color .2s;
}
.nav-link .i { width: 16px; height: 16px; transition: transform .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--azul);
  transform: scaleX(0); transition: transform .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--azul); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-aluno {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--grafite);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--linha);
}
.nav-aluno .i { width: 16px; height: 16px; }
.nav-aluno:hover { color: var(--azul); border-color: var(--azul); }

.has-drop { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; z-index: 10; width: 430px;
  display: grid; gap: 2px; padding: 10px;
  background: #fff; border: 1px solid var(--linha); border-radius: var(--r); box-shadow: var(--sombra-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-drop:hover .dropdown, .has-drop.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .nav-link .i, .has-drop.is-open .nav-link .i { transform: rotate(180deg); }
.drop-link { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; transition: background-color .15s; }
.drop-link:hover, .drop-link:focus-visible { background: var(--azul-50); }
.drop-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--azul-100); color: var(--azul); display: grid; place-items: center; }
.drop-link strong { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--grafite-900); }
.drop-link span span { display: block; font-size: 13px; color: var(--texto-2); line-height: 1.4; margin-top: 2px; }

@media (max-width: 1180px) {
  .btn-consultor .txt-long { display: none; }
  .btn-consultor .txt-short { display: inline; }
  .btn-diretor .txt-long { display: none; }
  .btn-diretor .txt-short { display: inline; }
}
@media (max-width: 960px) {
  .nav, .header-main .search, .btn-consultor, .btn-diretor, .header-contato { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-main { height: 68px; }
  .logo img { height: 40px; }
  html { scroll-padding-top: 84px; }
}

/* ---------- Menu mobile ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 22, 36, .55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(370px, 88vw);
  display: flex; flex-direction: column; gap: 18px; padding: 18px 20px 24px; overflow-y: auto;
  background: #fff; transform: translateX(100%); transition: transform .3s ease;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-top img { height: 36px; width: auto; }
.search-drawer { max-width: none; flex: none; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 12px 4px; border-bottom: 1px solid var(--linha); font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--grafite-900); }
.drawer-nav a:hover { color: var(--azul); }
.drawer-label { margin: 16px 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-3); }
.drawer-label:first-child { margin-top: 0; }
.drawer .btn { margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 76px 0 150px;
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(46, 114, 218, .55) 0%, transparent 65%),
    linear-gradient(135deg, var(--azul) 0%, var(--azul-800) 100%);
}
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-lines path { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }

.pill-live {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24);
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.hero h1 { color: #fff; font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin: 22px 0 20px; }
.hero .lead { font-size: clamp(16px, 1.35vw, 19px); color: rgba(255, 255, 255, .86); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-checks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.hero-checks li { display: flex; align-items: center; gap: 8px; }
.hero-checks .i { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .18); stroke-width: 3; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 430px); }
.hero-visual::before {
  content: ""; position: absolute; inset: -22px -22px auto auto; width: 70%; aspect-ratio: 1;
  border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .22);
}
.hero-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 220px 220px 28px 28px;
  border: 6px solid rgba(255, 255, 255, .16);
  background: var(--azul-700);
  box-shadow: var(--sombra-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
/* Foto horizontal da diretoria (duas pessoas): quadro mais largo, sem cortar ninguém */
.hero-visual--dupla { width: min(100%, 540px); }
.hero-visual--dupla .hero-photo { aspect-ratio: 5 / 4; border-radius: 200px 200px 28px 28px; background: #fff; }
.hero-visual--dupla .hero-photo img { object-position: center top; }
/* cartão "Diploma reconhecido" acima da foto, sem cobrir o rosto */
.hero-visual--dupla .fc-top { top: -7%; }
@media (max-width: 600px) { .hero-visual--dupla .fc-top { top: -9%; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: #fff; color: var(--grafite-900);
  box-shadow: 0 22px 44px -18px rgba(0, 18, 50, .55);
  animation: flutuar 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 14.5px; line-height: 1.25; }
.float-card span span { display: block; font-size: 12.5px; color: var(--texto-2); line-height: 1.3; }
.fc-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--azul-100); color: var(--azul); }
.fc-top { top: 16%; left: -56px; }
.fc-bottom { bottom: 14%; right: -40px; animation-delay: -3s; }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 960px) {
  .hero { padding: 52px 0 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { width: min(100%, 360px); }
  .hero-visual--dupla { width: min(100%, 460px); }
  .fc-top { left: -28px; }
  .fc-bottom { right: -20px; }
}
@media (max-width: 600px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { width: min(78%, 300px); }
  .hero-visual--dupla { width: min(86%, 360px); }
  .hero-visual::before { display: none; }
  .fc-top { left: -34px; top: 10%; }
  .fc-bottom { right: -34px; bottom: 10%; }
  .float-card { padding: 10px 12px; gap: 10px; }
  .float-card strong { font-size: 13px; }
  .float-card span span { font-size: 11.5px; }
  .fc-ico { width: 34px; height: 34px; border-radius: 10px; }
  .fc-ico .i { width: 18px; height: 18px; }
}

/* ---------- Benefícios ---------- */
.beneficios-wrap { position: relative; z-index: 2; margin-top: -80px; background: linear-gradient(transparent 0 80px, var(--fundo) 80px); }
.beneficios {
  list-style: none; margin: 0; padding: 6px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sombra-lg);
}
.beneficios li { position: relative; display: flex; align-items: center; gap: 14px; padding: 24px 20px; }
.beneficios li + li::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--linha); }
.b-ico { width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--azul-50); color: var(--azul); display: grid; place-items: center; }
.b-ico .i { width: 24px; height: 24px; }
.beneficios p { font-size: 14px; line-height: 1.4; color: var(--texto-2); }
.beneficios strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--grafite-900); margin-bottom: 2px; }
@media (max-width: 1024px) {
  .beneficios { grid-template-columns: repeat(2, 1fr); }
  .beneficios li:nth-child(3)::before { display: none; }
  .beneficios li:nth-child(n+3) { border-top: 1px solid var(--linha); }
}
@media (max-width: 560px) {
  .beneficios li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; }
  .beneficios li + li::before { top: 16px; bottom: 16px; }
  .b-ico { width: 42px; height: 42px; border-radius: 12px; }
  .b-ico .i { width: 21px; height: 21px; }
  .beneficios p { font-size: 13px; }
  .beneficios strong { font-size: 14px; }
}

/* ---------- Cursos ---------- */
.cursos { background: var(--fundo); padding: 88px 0 104px; }
@media (max-width: 700px) { .cursos { padding: 64px 0 72px; } }

.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 56px; }
.chip-filtro {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--linha); background: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--grafite);
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip-filtro:hover { border-color: var(--azul); color: var(--azul); }
.chip-filtro .count { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--azul-50); color: var(--azul); }

.busca-status {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: -24px 0 40px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--azul-100); border-left: 4px solid var(--azul); border-radius: 14px;
  font-size: 15px;
}
.busca-status[hidden] { display: none; }
.busca-status strong { color: var(--azul); }
.busca-limpar { border: 0; background: none; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--azul); padding: 4px 0; display: inline-flex; align-items: center; gap: 6px; }
.busca-limpar .i { width: 16px; height: 16px; }
.busca-vazia { text-align: center; padding: 40px 16px 8px; color: var(--texto-2); }
.busca-vazia h3 { font-size: 22px; margin-bottom: 8px; }
.busca-vazia .btn { margin-top: 20px; }

.categoria + .categoria { margin-top: 76px; }
.categoria[hidden] { display: none; }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.cat-title { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; }
.cat-sub { margin-top: 14px; max-width: 560px; color: var(--texto-2); }
.cat-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.link-ver { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border: 0; background: none; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--grafite-900); }
.link-ver .i { width: 18px; height: 18px; transition: transform .2s; }
.link-ver:hover { color: var(--azul); }
.link-ver:hover .i { transform: translateX(3px); }
.arrows { display: flex; gap: 8px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linha); background: #fff; color: var(--grafite-900); display: grid; place-items: center; transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.arrow:hover:not(:disabled) { background: var(--azul); border-color: var(--azul); color: #fff; }
.arrow:disabled { opacity: .35; cursor: default; }

.carousel {
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 30px; scroll-padding: 0 var(--gutter);
}
.carousel::-webkit-scrollbar { display: none; }
.track { display: flex; gap: 20px; }
.track > .card-curso { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; scroll-snap-align: start; }
@media (max-width: 1100px) { .track > .card-curso { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 860px) { .track > .card-curso { flex-basis: calc((100% - 20px) / 2); } }

.categoria.is-grid .carousel { overflow: visible; margin: 0; padding: 8px 0 0; }
.categoria.is-grid .track { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.categoria.is-grid .arrows { display: none; }
.categoria.is-grid .link-ver .i { transform: rotate(-90deg); }
.categoria.is-busca .arrows { display: none; }

@media (max-width: 700px) {
  .cat-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cat-actions { width: 100%; justify-content: space-between; }
  .arrows { display: none; }
  .track > .card-curso { flex-basis: min(82vw, 300px); }
}

/* Card de curso */
.card-curso {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--linha); border-radius: 20px; box-shadow: var(--sombra-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-curso:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: var(--azul-100); }

.thumb {
  position: relative; overflow: hidden; height: 156px; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff; background: linear-gradient(135deg, var(--azul) 0%, var(--azul-800) 100%);
}
.thumb::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -90px;
  border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .16);
}
.thumb::after {
  content: ""; position: absolute; width: 160px; height: 160px; right: -30px; top: -50px;
  border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .12);
}
.thumb-ico { position: absolute; right: -10px; bottom: -14px; width: 112px; height: 112px; stroke-width: 1.4; opacity: .2; }
.thumb-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.thumb-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26); }
.thumb-mec { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 4px; opacity: .92; }
.thumb-mec .i { width: 13px; height: 13px; }
.thumb-area { position: relative; z-index: 1; max-width: 86%; font-family: var(--font-head); font-weight: 800; font-size: 17px; line-height: 1.5; text-transform: uppercase; letter-spacing: .01em; }
.thumb-area span { background: #fff; color: var(--azul); padding: 2px 8px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.tone-grafite .thumb { background: linear-gradient(135deg, #4B5159 0%, var(--grafite-900) 100%); }
.tone-grafite .thumb-area span { color: var(--grafite-900); }
.tone-marinho .thumb { background: linear-gradient(135deg, var(--azul-700) 0%, var(--azul-900) 100%); }
.tone-ceu .thumb { background: linear-gradient(135deg, var(--azul-claro) 0%, var(--azul) 100%); }

.card-body { flex: 1; display: flex; flex-direction: column; padding: 18px; }

/* selo "Em alta" e ranking de mais procurados */
.card-destaque {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  margin: -32px 0 12px; padding: 6px 12px; border-radius: 999px; position: relative; z-index: 2;
  background: var(--grafite-900); color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.card-destaque .i { width: 14px; height: 14px; color: #8FB4FF; stroke-width: 2.5; }
.tone-grafite .card-destaque { background: var(--azul); }
.tone-grafite .card-destaque .i { color: #fff; }
.thumb-rank {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 11px 4px 4px; border-radius: 999px;
  background: #fff; color: var(--azul-800); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.thumb-rank b {
  display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--azul); color: #fff; font-family: var(--font-head); font-size: 13px; letter-spacing: 0;
}
.is-rank .thumb-mec { display: none; }
.card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.card-chips span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 8px; background: var(--fundo); border: 1px solid var(--linha); font-size: 11.5px; font-weight: 600; color: var(--texto-2); }
.card-chips .i { width: 13px; height: 13px; color: var(--azul); }
.card-curso h4 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--grafite-900); }
.card-desc { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--texto-2); }
.card-bottom { margin-top: auto; padding-top: 16px; }
.card-preco { padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; background: var(--azul-50); text-align: center; }
.p-label { display: block; font-size: 12px; color: var(--texto-2); }
.p-de { font-size: 12.5px; color: var(--texto-3); text-decoration: line-through; margin-right: 6px; }
.p-valor { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--azul); line-height: 1.3; }
.p-obs { display: block; font-size: 12px; color: var(--texto-2); }
.card-preco.is-consulta .p-valor { display: block; font-size: 16px; }
.card-cert { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; padding: 7px; border-radius: 8px; background: var(--fundo); font-size: 12px; color: var(--texto-2); text-align: center; }
.card-cert .i { width: 14px; height: 14px; color: var(--azul); stroke-width: 2.5; }

/* ---------- Catálogo completo de pós-graduação ---------- */
.catalogo {
  margin-top: 40px; padding: 32px; border-radius: 24px;
  background: #fff; border: 1px solid var(--linha); box-shadow: var(--sombra-sm);
}
.categoria + .catalogo { margin-top: 28px; }
.catalogo + .categoria { margin-top: 76px; }
.catalogo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.catalogo-head h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin-top: 10px; }
.catalogo-head p { margin-top: 8px; color: var(--texto-2); }
.catalogo-busca {
  flex: 0 1 380px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px;
  border: 1.5px solid var(--linha); border-radius: 14px; background: var(--fundo);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.catalogo-busca:focus-within { background: #fff; border-color: var(--azul); box-shadow: 0 0 0 4px var(--azul-100); }
.catalogo-busca .i { width: 18px; height: 18px; color: var(--texto-3); }
.catalogo-busca input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--texto); }

.catalogo-areas {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 2px 2px 12px; margin: 0 -2px;
  scroll-snap-type: x proximity;
}
.area-chip {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linha); background: #fff; color: var(--grafite);
  font-family: var(--font-head); font-weight: 600; font-size: 13px; white-space: nowrap;
  transition: border-color .15s, color .15s, background-color .15s;
}
.area-chip .i { width: 15px; height: 15px; color: var(--azul); }
.area-chip span { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--fundo); color: var(--texto-2); }
.area-chip:hover { border-color: var(--azul); color: var(--azul); }
.area-chip.is-on { background: var(--azul); border-color: var(--azul); color: #fff; }
.area-chip.is-on .i { color: #fff; }
.area-chip.is-on span { background: rgba(255, 255, 255, .2); color: #fff; }

.catalogo-status { margin: 8px 0 12px; font-size: 14px; color: var(--texto-2); }
.catalogo-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.catalogo-item {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--linha); background: #fff; text-align: left;
  transition: border-color .15s, background-color .15s, transform .15s;
}
.catalogo-item strong { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--grafite-900); }
.catalogo-item small { display: block; margin-top: 3px; font-size: 12px; color: var(--texto-3); }
.catalogo-item .i { width: 16px; height: 16px; color: var(--azul-300); transition: transform .15s, color .15s; }
.catalogo-item:hover { border-color: var(--azul-300); background: var(--azul-50); }
.catalogo-item:hover .i { color: var(--azul); transform: translateX(3px); }
.catalogo-vazio { grid-column: 1 / -1; padding: 28px 16px; text-align: center; color: var(--texto-2); }
.catalogo-mais { display: flex; justify-content: center; margin-top: 18px; }
.btn-ghost-azul { background: #fff; border-color: var(--azul-100); color: var(--azul); }
.btn-ghost-azul:hover { border-color: var(--azul); }
.catalogo-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 24px; padding: 18px 20px; border-radius: 16px; background: var(--azul-50);
}
.catalogo-cta p { color: var(--texto-2); max-width: 620px; }
.catalogo-cta strong { color: var(--grafite-900); }
.busca-status a { color: var(--azul); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .catalogo-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .catalogo { padding: 20px 16px; margin-left: calc(var(--gutter) * -1 + 8px); margin-right: calc(var(--gutter) * -1 + 8px); }
  .catalogo-busca { flex-basis: 100%; }
  .catalogo-lista { grid-template-columns: minmax(0, 1fr); }
  .catalogo-cta .btn { width: 100%; }
}

/* ---------- Como funciona ---------- */
.passos { list-style: none; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.passos::before {
  content: ""; position: absolute; top: 38px; left: 12.5%; right: 12.5%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--azul-300) 0 8px, transparent 8px 16px);
}
.passo { position: relative; text-align: center; padding: 0 6px; }
.passo-ico {
  position: relative; width: 76px; height: 76px; margin: 0 auto 24px;
  display: grid; place-items: center; border-radius: 24px;
  background: #fff; border: 1px solid var(--linha); box-shadow: var(--sombra); color: var(--azul);
}
.passo-ico .i { width: 32px; height: 32px; }
.passo-num {
  position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; border: 3px solid #fff;
  background: var(--azul); color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 800;
}
.passo h3 { font-size: 19px; margin-bottom: 8px; }
.passo p { font-size: 15px; color: var(--texto-2); }
@media (max-width: 900px) {
  .passos { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .passos::before { display: none; }
}
@media (max-width: 540px) {
  .passos { grid-template-columns: 1fr; row-gap: 28px; }
  .passo { display: grid; grid-template-columns: 64px 1fr; gap: 18px; text-align: left; padding: 0; }
  .passo-ico { width: 62px; height: 62px; margin: 0; border-radius: 18px; }
  .passo-ico .i { width: 26px; height: 26px; }
}

/* ---------- EJA ---------- */
.eja { padding: 8px 0 104px; }
@media (max-width: 700px) { .eja { padding: 0 0 68px; } }
.eja-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: .95fr 1.05fr;
  border-radius: 28px; color: #fff; box-shadow: var(--sombra-lg);
  background: radial-gradient(640px 420px at 100% 100%, var(--azul-800) 0%, transparent 75%), var(--azul);
}
.eja-media { position: relative; min-height: 440px; }
.eja-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eja-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 67, 166, .08) 35%, rgba(0, 67, 166, .6) 75%, var(--azul) 100%); }
.eja-copy { position: relative; padding: 60px 56px; align-self: center; }
.eja h2 { color: #fff; font-size: clamp(28px, 3.3vw, 42px); font-weight: 800; letter-spacing: -.02em; margin: 16px 0 18px; }
.eja-copy > p { color: rgba(255, 255, 255, .88); font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks .i { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: #fff; color: var(--azul); stroke-width: 3; }
.eja-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .eja-card { grid-template-columns: 1fr; }
  .eja-media { min-height: 240px; }
  .eja-media::after { background: linear-gradient(180deg, rgba(0, 67, 166, .05) 35%, var(--azul) 100%); }
  .eja-copy { padding: 8px 24px 36px; }
}
@media (max-width: 600px) { .eja-ctas .btn { flex: 1 1 100%; } }

/* ---------- Diferenciais ---------- */
.diferenciais { background: var(--fundo); }
.dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dif { padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--linha); transition: transform .25s, box-shadow .25s, border-color .25s; }
.dif:hover { transform: translateY(-3px); box-shadow: var(--sombra); border-color: var(--azul-100); }
.dif-ico { width: 54px; height: 54px; margin-bottom: 20px; border-radius: 16px; display: grid; place-items: center; background: var(--azul); color: #fff; box-shadow: 0 10px 20px -10px rgba(0, 67, 166, .8); }
.dif-ico .i { width: 26px; height: 26px; }
.dif h3 { font-size: 19px; margin-bottom: 8px; }
.dif p { font-size: 15px; color: var(--texto-2); }
@media (max-width: 960px) { .dif-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .dif-grid { grid-template-columns: 1fr; } .dif { padding: 24px; } }

/* ---------- Quem somos ---------- */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sobre-media { position: relative; isolation: isolate; }
.sobre-media::before { content: ""; position: absolute; left: -22px; bottom: -22px; width: 62%; height: 62%; border-radius: 28px; background: var(--azul-100); z-index: -1; }
.sobre-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: var(--sombra-lg); }
.sobre-selo { position: absolute; right: -20px; bottom: 30px; max-width: 270px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--sombra-lg); }
.sobre-selo strong { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--grafite-900); }
.sobre-selo span span { display: block; font-size: 12.5px; line-height: 1.35; color: var(--texto-2); }
.sobre-copy h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 20px; }
.sobre-copy p { color: var(--texto-2); font-size: 16.5px; }
.sobre-copy p + p { margin-top: 14px; }
.sobre-copy p strong { color: var(--grafite-900); }
.lideranca { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.lider { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--linha); }
.avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--azul); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.lider strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--grafite-900); }
.lider span span { display: block; font-size: 13px; color: var(--texto-2); }
@media (max-width: 960px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 56px; }
  .sobre-media { max-width: 560px; }
  .sobre-selo { right: 12px; }
}
@media (max-width: 480px) {
  .lideranca { grid-template-columns: 1fr; }
  .sobre-media::before { left: -10px; bottom: -12px; }
  .sobre-selo { position: relative; right: auto; bottom: auto; margin: -36px 12px 0; max-width: none; }
}

/* ---------- Dúvidas ---------- */
.faq { background: var(--fundo); }
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--linha); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--azul-100); box-shadow: var(--sombra-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--grafite-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--azul); }
.faq-plus { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--azul-50); color: var(--azul); transition: transform .25s, background-color .25s, color .25s; }
.faq-plus .i { width: 18px; height: 18px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--azul); color: #fff; }
.faq-body { padding: 0 22px 22px; color: var(--texto-2); }

/* ---------- Contato ---------- */
.contato {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 420px at 10% 100%, rgba(46, 114, 218, .45) 0%, transparent 70%),
    linear-gradient(135deg, var(--azul) 0%, var(--azul-800) 100%);
}
.contato-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contato h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 18px; }
.contato-copy > p { color: rgba(255, 255, 255, .86); font-size: 17px; max-width: 480px; }
.contato-lista { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contato-lista a { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.contato-lista a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.c-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.c-ico-wa { background: var(--wa); border-color: var(--wa); }
.contato-lista small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.contato-lista strong { font-family: var(--font-head); font-weight: 600; font-size: 16px; word-break: break-word; }

.form-card { padding: 34px; border-radius: 24px; background: #fff; color: var(--texto); box-shadow: 0 40px 70px -30px rgba(0, 10, 30, .6); }
.form-card h3 { font-size: 23px; margin-bottom: 6px; }
.form-card > p { color: var(--texto-2); font-size: 14.5px; margin-bottom: 22px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--grafite); }
.field .opt { font-weight: 400; color: var(--texto-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--linha); background: #fff;
  font: inherit; font-size: 15px; color: var(--texto);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235D636B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--azul); box-shadow: 0 0 0 4px var(--azul-100); }
.field input.is-invalid { border-color: #D93B3B; box-shadow: 0 0 0 4px rgba(217, 59, 59, .12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-erro { margin: -2px 0 12px; font-size: 13.5px; color: #C42F2F; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--texto-3); text-align: center; }
.form-note .i { width: 14px; height: 14px; }

@media (max-width: 960px) { .contato-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 24px 20px; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--grafite-900); color: #B7BCC4; font-size: 14.5px; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo img { height: 46px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 320px; }
.footer h4 { margin-bottom: 18px; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer a { transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-contato a { display: inline-flex; align-items: center; gap: 10px; word-break: break-word; }
.footer-contato .i { width: 17px; height: 17px; color: var(--azul-300); }
.footer-contato a:has(.f-label) { align-items: flex-start; }
.footer-contato a:has(.f-label) .i { margin-top: 3px; }
.f-label { display: block; font-size: 12px; letter-spacing: .02em; color: #8B9199; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background-color .2s; }
.social a:hover { background: var(--azul); }
.social .i { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8B9199; }
.footer-bottom .selo { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .i { width: 16px; height: 16px; color: var(--azul-300); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer { padding-top: 56px; } }

/* ---------- Botões de contato flutuantes ---------- */
.contato-dock {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  transition: opacity .3s ease, transform .3s ease;
}
/* no desktop, some quando o rodapé (que já lista os contatos) aparece */
@media (min-width: 601px) {
  .contato-dock.dock-oculto { opacity: 0; transform: translateY(16px); pointer-events: none; }
}
.dock-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 20px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--linha); color: var(--grafite-900);
  box-shadow: 0 16px 34px -14px rgba(0, 25, 70, .45);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dock-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(0, 25, 70, .55); }
.dock-ico { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.dock-ico .i { width: 24px; height: 24px; }
.dock-matriculas .dock-ico { background: var(--wa); }
.dock-matriculas:hover { border-color: var(--wa); }
.dock-matriculas .dock-ico::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: anel 2.2s infinite; }
.dock-diretor .dock-ico { background: var(--azul); }
.dock-diretor:hover { border-color: var(--azul); }
.dock-txt { display: flex; flex-direction: column; line-height: 1.2; }
.dock-txt strong { font-family: var(--font-head); font-size: 14px; font-weight: 700; white-space: nowrap; }
.dock-txt small { font-size: 12.5px; color: var(--texto-2); margin-top: 2px; white-space: nowrap; }
@keyframes anel { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* no celular: barra fixa no rodapé com os 2 botões lado a lado */
@media (max-width: 600px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .contato-dock {
    left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--linha);
    box-shadow: 0 -10px 30px -16px rgba(0, 25, 70, .35);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .dock-btn { justify-content: flex-start; gap: 8px; padding: 5px 10px 5px 5px; box-shadow: none; min-width: 0; }
  .dock-btn:hover { transform: none; box-shadow: none; }
  .dock-ico { width: 40px; height: 40px; }
  .dock-ico .i { width: 21px; height: 21px; }
  .dock-txt { min-width: 0; }
  .dock-txt strong { font-size: 12.5px; white-space: normal; }
  .dock-txt small { font-size: 11px; }
}

/* ---------- Modal ---------- */
.modal { width: min(480px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--texto); box-shadow: var(--sombra-lg); overflow: hidden; }
.modal::backdrop { background: rgba(10, 18, 36, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: surgir .25s ease; }
@keyframes surgir { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-head { position: relative; padding: 26px 28px 24px; color: #fff; background: linear-gradient(135deg, var(--azul) 0%, var(--azul-800) 100%); }
.modal-head h3 { color: #fff; font-size: 23px; margin-top: 8px; }
.modal-head p { margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .88); padding-right: 24px; }
.modal-head p strong { color: #fff; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); color: #fff; }
.modal-close:hover { background: rgba(255, 255, 255, .28); }
.modal-body { padding: 24px 28px 26px; }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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