:root {
  --blue-900: #071f38; --blue-800: #0a2c4f; --blue-700: #103f6c; --blue-600: #155a92; --blue-500: #2474b4;
  --gold: #e0a73a; --gold-soft: #f0cd80; --cream: #f2f5f9; --cream-2: #e6ecf3;
  --ink: #14202b; --ink-soft: #475663; --line: rgba(12,40,70,0.12); --maxw: 1240px;
  --display: "Bricolage Grotesque", serif; --body: "Hanken Grotesk", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-600); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); display: inline-block; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: 100px; cursor: pointer; border: 1.5px solid transparent; transition: all 0.25s ease; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-gold { background: var(--gold); color: var(--blue-900); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-green, .btn-blue { background: var(--blue-700); color: #fff; }
.btn-green:hover, .btn-blue:hover { background: var(--blue-800); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-outline { background: transparent; color: var(--blue-800); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: #fff; }

/* TOP BAR */
.topbar { background: var(--blue-900); color: rgba(255,255,255,0.82); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.2s; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .tb-left { display: inline-flex; align-items: center; gap: 9px; }
.topbar .tb-right { display: inline-flex; align-items: center; gap: 22px; }
.topbar svg { width: 14px; height: 14px; opacity: 0.85; }
.tb-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-500); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(242,245,249,0.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background 0.3s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 46px; width: auto; }
.brand .bt { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--blue-800); line-height: 1; }
.brand .bs { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.navlinks { display: flex; align-items: center; gap: 30px; }
.navlinks a { font-size: 15px; font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; }
.navlinks a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width 0.25s; }
.navlinks a:hover::after { width: 100%; }
/* Dropdowns do menu */
.navlinks .has-drop { position: relative; }
.navlinks .has-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.navlinks .caret { width: 14px; height: 14px; transition: transform .25s; }
.has-drop:hover .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 244px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 46px rgba(7,31,56,.16); padding: 8px; z-index: 130;
  opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease;
  max-height: 74vh; overflow-y: auto;
}
/* ponte invisível para o mouse não "cair" ao descer até o menu */
.has-drop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.has-drop:hover .dropdown-menu, .has-drop:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a { display: block; padding: 10px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--cream-2); color: var(--blue-700); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.menu-toggle span { width: 26px; height: 2px; background: var(--ink); display: block; }

/* HOME HERO */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--blue-900); }
.hero::before { content: ""; position: absolute; right: -160px; top: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(36,116,180,0.4), transparent 70%); }
.hero::after { content: ""; position: absolute; left: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(224,167,58,0.16), transparent 70%); }
/* com vídeo de fundo, dispensa os círculos decorativos */
.hero.has-video { min-height: 92vh; }
.hero.has-video::before, .hero.has-video::after { display: none; }
.hero-video { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;             /* 16:9 pela largura */
  min-height: 100%; min-width: 177.78vh;     /* 16:9 pela altura */
  /* scale extra recorta a barra de título e os controles do YouTube para fora da área visível */
  transform: translate(-50%, -50%) scale(1.45);
  pointer-events: none; border: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,31,56,0.55) 0%, rgba(7,31,56,0.20) 35%, rgba(7,31,56,0.88) 100%),
    linear-gradient(90deg, rgba(7,31,56,0.65) 0%, rgba(7,31,56,0.10) 60%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 78px; padding-top: 120px; }
.hero h1 { color: #fff; font-size: clamp(44px, 6.4vw, 92px); font-weight: 800; max-width: 16ch; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--gold-soft); }
.hero p { color: rgba(255,255,255,0.9); font-size: clamp(17px, 1.5vw, 21px); max-width: 56ch; margin-top: 26px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* SECTION BASE */
section { scroll-margin-top: 90px; }
.sec { padding: 96px 0; }
.sec-head { max-width: 760px; }
.sec-head h2 { font-size: clamp(32px, 4.2vw, 56px); margin-top: 16px; color: var(--blue-900); }
.sec-head p { font-size: 18px; color: var(--ink-soft); margin-top: 18px; }

/* COURSES (home) */
.courses { background: var(--blue-900); color: var(--cream); }
.courses .sec-head h2 { color: #fff; }
.courses .sec-head p { color: rgba(255,255,255,0.75); }
.courses .eyebrow { color: var(--gold-soft); }
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.chip { font-family: var(--body); font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 100px; border: 1.5px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.82); background: transparent; cursor: pointer; transition: all 0.2s; }
.chip:hover { border-color: rgba(255,255,255,0.5); }
.chip.active { background: var(--gold); color: var(--blue-900); border-color: var(--gold); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.course-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 30px 28px; display: flex; flex-direction: column; min-height: 280px; transition: all 0.28s ease; position: relative; overflow: hidden; }
.course-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width 0.35s ease; }
.course-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.course-card:hover::before { width: 100%; }
.course-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
.course-card h3 { font-size: 25px; color: #fff; margin: 16px 0 12px; letter-spacing: -0.02em; }
.course-card p { font-size: 15px; color: rgba(255,255,255,0.74); line-height: 1.55; flex: 1; }
.course-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--gold-soft); }
.course-link svg { width: 16px; height: 16px; transition: transform 0.25s; }
.course-card:hover .course-link svg { transform: translateX(5px); }
.hidden { display: none !important; }

/* ACCESS (home) */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }
.access-card { border: 1px solid var(--line); border-radius: 22px; padding: 44px; background: #fff; display: flex; flex-direction: column; transition: all 0.28s; box-shadow: 0 8px 28px rgba(7,31,56,0.05); }
.access-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px rgba(7,31,56,0.12); }
.access-icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--cream-2); color: var(--blue-700); margin-bottom: 22px; }
.access-icon svg { width: 28px; height: 28px; }
.access-card h3 { font-size: 28px; color: var(--blue-900); }
.access-card ul { list-style: none; margin: 20px 0 30px; display: grid; gap: 11px; }
.access-card li { font-size: 15.5px; color: var(--ink-soft); display: flex; align-items: flex-start; gap: 11px; }
.access-card li svg { width: 18px; height: 18px; color: var(--blue-500); flex-shrink: 0; margin-top: 1px; }
.access-card .btn { margin-top: auto; align-self: flex-start; }

/* CTA BAND */
.cta-band { position: relative; background: var(--blue-800); color: #fff; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(224,167,58,0.32), transparent 70%); }
.cta-band .wrap { position: relative; z-index: 2; padding: 92px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { font-size: clamp(32px, 4.4vw, 58px); max-width: 18ch; }
.cta-band p { font-size: 19px; color: rgba(255,255,255,0.82); margin: 20px 0 34px; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* FOOTER */
footer { background: var(--blue-900); color: rgba(255,255,255,0.72); padding: 72px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.foot-brand img { height: 50px; margin-bottom: 20px; }
.foot-brand .bt { font-family: var(--display); font-weight: 800; font-size: 26px; color: #fff; margin-bottom: 16px; }
.foot-brand p { font-size: 15px; line-height: 1.6; max-width: 34ch; }
.foot-social { display: flex; gap: 12px; margin-top: 24px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; transition: all 0.2s; }
.foot-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--blue-900); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h4 { font-family: var(--body); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; font-weight: 700; }
.foot-col ul { list-style: none; display: grid; gap: 12px; }
.foot-col a { font-size: 15px; transition: color 0.2s; }
.foot-col a:hover { color: #fff; }
.foot-contact p { font-size: 14.5px; line-height: 1.6; margin-bottom: 14px; }
.foot-contact strong { color: #fff; font-weight: 600; }
.foot-map { display: inline-flex; align-items: flex-start; gap: 6px; transition: color .2s; border-bottom: 1px solid rgba(255,255,255,.22); }
.foot-map:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }
.foot-map svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 52px; padding-top: 26px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.foot-legal a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.foot-legal a:hover { color: var(--gold-soft); }
.foot-legal .sep { color: rgba(255,255,255,0.3); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 24px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 13px; flex-wrap: wrap; }
.foot-dev { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.55); }
.foot-dev a { color: var(--gold-soft); font-weight: 600; transition: color 0.2s; }
.foot-dev a:hover { color: #fff; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== COURSE PAGE ===== */
.chero { position: relative; background: var(--blue-900); color: #fff; overflow: hidden; }
.chero::before { content: ""; position: absolute; right: -160px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(36,116,180,0.4), transparent 70%); }
.chero::after { content: ""; position: absolute; left: -120px; bottom: -200px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(224,167,58,0.18), transparent 70%); }
.chero .wrap { position: relative; z-index: 2; padding: 56px 32px 64px; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: rgba(255,255,255,0.7); margin-bottom: 32px; flex-wrap: wrap; }
.crumb a:hover { color: var(--gold-soft); }
.crumb svg { width: 14px; height: 14px; opacity: 0.6; }
.chero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.chero-tag { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 7px 16px; border-radius: 100px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
.chero h1 { font-size: clamp(42px, 5.6vw, 78px); font-weight: 800; margin: 22px 0 20px; letter-spacing: -0.035em; }
.chero p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,0.85); max-width: 52ch; line-height: 1.5; }
.chero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.chero-media { width: 100%; height: 380px; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.35); background: rgba(255,255,255,0.05); }
.chero-media img { width: 100%; height: 100%; object-fit: cover; }
.chero-media.ph { display: grid; place-items: center; color: rgba(255,255,255,0.4); font-size: 14px; text-align: center; padding: 20px; }

.meta { background: var(--blue-800); position: relative; z-index: 3; }
.meta .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.meta-item { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; gap: 16px; }
.meta-item:last-child { border-right: none; }
.meta-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: var(--gold-soft); flex-shrink: 0; }
.meta-ic svg { width: 22px; height: 22px; }
.meta-l { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 600; }
.meta-v { font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; margin-top: 3px; }

.tabs { position: sticky; top: 78px; z-index: 90; background: rgba(242,245,249,0.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tab { font-family: var(--body); font-size: 14.5px; font-weight: 600; color: var(--ink-soft); background: none; border: none; padding: 18px 20px; cursor: pointer; white-space: nowrap; border-bottom: 2.5px solid transparent; transition: all 0.2s; }
.tab:hover { color: var(--blue-700); }
.tab.active { color: var(--blue-800); border-bottom-color: var(--gold); }

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; margin-top: 40px; align-items: start; }
.about-text p { font-size: 17.5px; color: var(--ink-soft); margin-bottom: 20px; line-height: 1.65; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 12px 34px rgba(7,31,56,0.06); }
.about-card h3 { font-size: 21px; color: var(--blue-900); margin-bottom: 20px; }
.about-card ul { list-style: none; display: grid; gap: 14px; }
.about-card li { font-size: 15.5px; color: var(--ink-soft); display: flex; gap: 12px; align-items: flex-start; }
.about-card li svg { width: 19px; height: 19px; color: var(--blue-500); flex-shrink: 0; margin-top: 2px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; transition: all 0.28s; }
.pillar:hover { transform: translateY(-5px); box-shadow: 0 24px 44px rgba(7,31,56,0.1); }
.pillar-ic { width: 54px; height: 54px; border-radius: 13px; background: var(--cream-2); color: var(--blue-700); display: grid; place-items: center; margin-bottom: 20px; }
.pillar-ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 21px; color: var(--blue-900); margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

.grade { background: var(--blue-900); color: var(--cream); }
.grade .sec-head h2 { color: #fff; }
.grade .sec-head p { color: rgba(255,255,255,0.75); }
.grade .eyebrow { color: var(--gold-soft); }
.sem-list { display: grid; gap: 14px; margin-top: 44px; }
.sem { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; transition: border-color 0.25s; }
.sem.open { border-color: rgba(224,167,58,0.5); }
.sem-head { display: flex; align-items: center; gap: 18px; padding: 24px 28px; cursor: pointer; user-select: none; }
.sem-num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--blue-900); background: var(--gold); width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.sem-title { font-family: var(--display); font-weight: 700; font-size: 21px; color: #fff; flex: 1; }
.sem-count { font-size: 13.5px; color: rgba(255,255,255,0.6); }
.sem-chev { width: 22px; height: 22px; color: var(--gold-soft); transition: transform 0.3s; flex-shrink: 0; }
.sem.open .sem-chev { transform: rotate(180deg); }
.sem-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.sem.open .sem-body { max-height: 900px; }
.sem-body-inner { padding: 0 28px 26px 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.sem-body-inner span { font-size: 15px; color: rgba(255,255,255,0.82); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; gap: 10px; }
.sem-body-inner span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); flex-shrink: 0; }

.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.infra-card { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(7,31,56,0.05); transition: all 0.28s; }
.infra-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px rgba(7,31,56,0.12); }
.infra-card .ic-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .5s ease; }
.infra-card:hover .ic-img { transform: scale(1.05); }
.infra-card { position: relative; }
.infra-card > .ic-img { border-radius: 0; }
.infra-card .ic-ph { width: 100%; height: 200px; background: linear-gradient(135deg, var(--cream-2), #d7e0ea); display: grid; place-items: center; color: var(--blue-600); }
.infra-card .ic-ph svg { width: 34px; height: 34px; opacity: 0.5; }
.infra-card .ic-body { padding: 24px 26px 28px; }
.infra-card h3 { font-size: 20px; color: var(--blue-900); margin-bottom: 8px; }
.infra-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

.mercado { background: var(--cream-2); }
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.area { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; transition: all 0.22s; }
.area:hover { border-color: var(--gold); transform: translateX(4px); }
.area-ic { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-700); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.area-ic svg { width: 22px; height: 22px; }
.area h3 { font-size: 17px; color: var(--blue-900); }
.area p { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

/* ===== PÁGINAS INSTITUCIONAIS ===== */
.page-hero .wrap { padding-top: 48px; }
.page-body { padding-top: 64px; }
.prose { max-width: 820px; color: var(--ink-soft); font-size: 17.5px; line-height: 1.7; }
.prose.full { max-width: none; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); color: var(--blue-900); margin: 42px 0 16px; }
.prose h3 { font-size: 22px; color: var(--blue-800); margin: 30px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; display: grid; gap: 9px; }
.prose li { padding-left: 4px; }
.prose a { color: var(--blue-600); font-weight: 600; border-bottom: 1px solid var(--line); }
.prose a:hover { color: var(--blue-800); border-bottom-color: var(--blue-600); }
.prose strong { color: var(--blue-900); }
.prose blockquote { border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; margin: 22px 0; color: var(--ink); font-style: italic; }

/* Blocos Missão/Visão/Valores */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 40px 0; }
.mvv-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 30px; box-shadow: 0 12px 34px rgba(7,31,56,0.05); }
.mvv-card .mvv-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--cream-2); color: var(--blue-700); display: grid; place-items: center; margin-bottom: 18px; }
.mvv-card .mvv-ic svg { width: 27px; height: 27px; }
.mvv-card h3 { font-family: var(--display); font-size: 22px; color: var(--blue-900); margin: 0 0 12px; }
.mvv-card p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* Equipe / Setores (Sobre) */
.setor { margin-top: 48px; }
.setor-title { font-family: var(--display); font-size: 15px; letter-spacing: .04em; color: var(--blue-800); font-weight: 700; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; text-transform: uppercase; }
.setor-title::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; transition: all .25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(7,31,56,.1); }
.team-photo { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; background: var(--cream-2); border: 3px solid var(--cream-2); }
.team-photo.ph { display: grid; place-items: center; color: var(--blue-500); font-family: var(--display); font-weight: 700; font-size: 30px; }
.team-name { font-size: 14.5px; font-weight: 600; color: var(--blue-900); line-height: 1.35; }

/* Corpo Docente */
.doc-filter { display: flex; flex-wrap: wrap; gap: 9px; margin: 6px 0 34px; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.doc-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: all .22s; }
.doc-card:hover { border-color: var(--gold); transform: translateX(3px); }
.doc-av { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-700); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 17px; flex-shrink: 0; }
.doc-info { flex: 1; min-width: 0; }
.doc-name { font-size: 15px; font-weight: 600; color: var(--blue-900); line-height: 1.3; }
.doc-meta { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.doc-lattes { color: var(--blue-600); flex-shrink: 0; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); transition: all .2s; }
.doc-lattes:hover { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.doc-lattes svg { width: 16px; height: 16px; }

/* Portarias */
.port-list { display: grid; gap: 14px; margin-top: 12px; }
.port { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.port.open { border-color: rgba(224,167,58,.55); }
.port-head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; user-select: none; }
.port-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--cream-2); color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; }
.port-ic svg { width: 21px; height: 21px; }
.port-title { flex: 1; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--blue-900); }
.port-chev { width: 22px; height: 22px; color: var(--blue-500); transition: transform .3s; flex-shrink: 0; }
.port.open .port-chev { transform: rotate(180deg); }
.port-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.port.open .port-body { max-height: 1200px; }
.port-body-inner { padding: 0 24px 24px 82px; font-size: 15px; color: var(--ink-soft); line-height: 1.7; white-space: pre-line; }

/* Trabalhe Conosco (form) */
.trab-form-wrap { max-width: 760px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: 0 16px 44px rgba(7,31,56,.07); }
.trab-form-wrap .form-obs { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.trab-form-wrap .field { margin-bottom: 18px; }
.trab-form-wrap label { font-weight: 600; }
.trab-form-wrap .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.radio-row { display: flex; gap: 22px; padding-top: 8px; }
.trab-form-wrap .radio, .trab-form-wrap .check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; cursor: pointer; margin: 0; }
.trab-form-wrap .radio input, .trab-form-wrap .check input { width: auto; flex-shrink: 0; margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; padding-top: 8px; }
.file-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px; border: 2px dashed var(--line); border-radius: 14px; cursor: pointer; color: var(--ink-soft); font-size: 14.5px; transition: all .2s; text-align: center; }
.file-drop:hover { border-color: var(--blue-500); background: rgba(36,116,180,.03); }
.file-drop svg { width: 30px; height: 30px; color: var(--blue-500); }
.file-drop input[type=file] { display: none; }

@media (max-width: 780px) {
  .mvv-grid { grid-template-columns: 1fr; }
  .trab-form-wrap { padding: 26px; }
  .trab-form-wrap .grid-2, .check-grid { grid-template-columns: 1fr; }
}

/* ===== GALERIA DE FOTOS ===== */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.gal-item { position: relative; border: none; padding: 0; background: var(--cream-2); border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; display: block; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,31,56,.45), transparent 55%); opacity: 0; transition: opacity .3s; }
.gal-item:hover::after { opacity: 1; }
.gal-cap { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; color: #fff; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: all .3s; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.gal-item:hover .gal-cap { opacity: 1; transform: none; }
.gal-more { display: flex; justify-content: center; margin-top: 32px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 400; background: rgba(4,16,30,.94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-close { position: absolute; top: 18px; right: 24px; background: none; border: none; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; opacity: .8; }
.lb-close:hover { opacity: 1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-info { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; }

@media (max-width: 940px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lb-nav { width: 42px; height: 42px; } .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ===== FORM / MODAL DE INSCRIÇÃO ===== */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(7,31,56,0.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-card { background: var(--cream); border-radius: 22px; width: 100%; max-width: 460px; padding: 36px; box-shadow: 0 30px 70px rgba(0,0,0,0.4); position: relative; max-height: 92vh; overflow-y: auto; }
.modal-card h3 { font-size: 26px; color: var(--blue-900); }
.modal-card .sub { color: var(--ink-soft); font-size: 15px; margin: 8px 0 22px; }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font-family: var(--body); font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(36,116,180,0.12); }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.form-ok { background: #e7f6ec; border: 1px solid #b6e2c4; color: #1e7a44; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 14px; }
.form-err { background: #fdeaea; border: 1px solid #f2c0c0; color: #b23434; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 14px; }

/* RESPONSIVE */
@media (max-width: 940px) {
  .navlinks, .nav-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; }
  .course-grid { grid-template-columns: 1fr 1fr; }
  .access-grid, .foot-grid { grid-template-columns: 1fr; }
  .chero-grid { grid-template-columns: 1fr; gap: 32px; }
  .chero-media { height: 280px; }
  .meta .wrap { grid-template-columns: 1fr 1fr; }
  .meta-item:nth-child(2) { border-right: none; }
  .meta-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .pillars, .infra-grid { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .sem-body-inner { grid-template-columns: 1fr; padding-left: 28px; }
  .topbar .tb-right { gap: 14px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 64px 0; }
  .course-grid { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .meta .wrap { grid-template-columns: 1fr; }
  .meta-item { border-right: none; }
}

.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--blue-900); color: #fff; transform: translateX(100%); transition: transform 0.35s ease; display: flex; flex-direction: column; padding: 28px; }
.mobile-menu.open { transform: none; }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu .mm-close { background: none; border: none; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }
.mobile-menu a { font-family: var(--display); font-size: 30px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: block; }
.mobile-menu .mm-cta { margin-top: 30px; display: grid; gap: 12px; }
.mobile-menu .mm-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu .mm-group { padding: 14px 0 6px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-menu .mm-title { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; margin-bottom: 6px; }
.mobile-menu a.mm-sub { font-family: var(--body); font-size: 17px; font-weight: 500; padding: 8px 0; border-bottom: none; color: rgba(255,255,255,.88); }
.mobile-menu a.mm-sub:hover { color: #fff; }
