@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-98bbbccb.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-013b2f2f.woff2") format("woff2");
}

:root {
  --ink: #091a33;
  --ink-2: #17314b;
  --ink-3: #29445f;
  --brand: #0765b5;
  --brand-bright: #019fe6;
  --brand-deep: #07579d;
  --brand-deeper: #064b86;
  --brand-dark: #053f74;
  --brand-light: #9dd3f4;
  --brand-pale: #e8f4fb;
  --enroll: #0b7a43;
  --enroll-deep: #075f34;
  --enroll-pale: #e4f5eb;
  --enroll-border: #7bd7a2;
  --mec-gold: #d79a22;
  --mec-gold-light: #f8d56a;
  --mec-gold-edge: #81520a;
  --mec-ink: #fff;
  --paper: #f4f7f8;
  --white: #fff;
  --muted: #53697d;
  --muted-light: #607080;
  --text-heading: var(--brand-deeper);
  --control-border: #748694;
  --placeholder: #607080;
  --line: rgba(9, 26, 51, .14);
  --line-light: rgba(255, 255, 255, .16);
  --shadow: 0 28px 90px rgba(9, 26, 51, .13);
  --focus: var(--brand-deeper);
  --focus-inverse: var(--brand-pale);
  --surface-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 58%, var(--brand-deeper) 100%);
  --surface-brand-deep: linear-gradient(135deg, var(--brand-deep), var(--brand-deeper));
  --on-brand-muted: rgba(255, 255, 255, .88);
  --on-brand-subtle: rgba(255, 255, 255, .82);
  --shadow-card: 0 16px 46px rgba(9, 26, 51, .075);
  --shadow-card-hover: 0 26px 72px rgba(9, 26, 51, .14);
  --ease-standard: cubic-bezier(.2, .8, .2, 1);
  --motion-fast: 180ms;
  --motion-card: 260ms;
  --title-display: clamp(48px, 4.75vw, 88px);
  --title-page: clamp(40px, 4.15vw, 70px);
  --title-section: clamp(36px, 3.9vw, 68px);
  --title-subsection: clamp(27px, 2.85vw, 44px);
  --title-card: clamp(20px, 1.55vw, 25px);
  --section-space: clamp(96px, 7vw, 120px);
  --max: 1440px;
  --content: min(100% - 48px, var(--max));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: "Geist", Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font-family: inherit; }
button, input, select, textarea { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; }
::selection { background: var(--brand-light); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link:focus { z-index: 99999; top: 10px; left: 10px; width: auto !important; height: auto !important; padding: 12px 16px !important; margin: 0 !important; clip: auto !important; overflow: visible !important; border-radius: 8px; background: #fff; color: var(--ink); }
[hidden] { display: none !important; }

.announcement { min-height: 38px; padding: 8px clamp(18px, 4vw, 64px); display: flex; align-items: center; justify-content: center; gap: 14px; background: var(--brand-light); color: var(--ink); font-size: 12px; font-weight: 650; }
.announcement > span { padding: 5px 9px; border: 1px solid currentColor; border-radius: 99px; font: 750 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.announcement p { margin: 0; }
.announcement a { min-height: 28px; margin-left: 12px; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid currentColor; }

.site-header { position: sticky; z-index: 90; top: 0; height: 88px; padding: 0 clamp(22px, 4vw, 64px); display: grid; grid-template-columns: 106px 1fr auto; align-items: center; gap: 28px; border-bottom: 1px solid rgba(7, 101, 181, .14); background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 10px 35px rgba(9, 26, 51, .055); backdrop-filter: blur(18px); }
.admin-bar .site-header { top: 32px; }
.brand { position: relative; z-index: 102; width: 89px; display: inline-flex; align-items: center; }
.brand img, .brand .custom-logo { width: 89px; height: 66px; object-fit: contain; }
.brand .custom-logo-link { display: inline-flex; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2vw, 30px); }
.nav-list { margin: 0; padding: 0; display: contents; list-style: none; }
.nav > a, .nav > li > a, .nav .nav-list > li > a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-3); font-size: 15px; font-weight: 550; white-space: nowrap; transition: color .18s; }
.nav > a::after, .nav > li > a::after, .nav .nav-list > li > a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; border-radius: 2px; background: var(--brand-bright); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav > a:hover, .nav > a:focus-visible, .nav > li > a:hover, .nav > li > a:focus-visible, .nav .nav-list > li > a:hover, .nav .nav-list > li > a:focus-visible { color: var(--brand); }
.nav > a:hover::after, .nav > a:focus-visible::after, .nav > li > a:hover::after, .nav > li > a:focus-visible::after, .nav .nav-list > li > a:hover::after, .nav .nav-list > li > a:focus-visible::after { transform: scaleX(1); }
.nav .nav-books { color: var(--brand); }
.nav .nav-student-mobile { display: none; }
.student-area { min-height: 48px; padding: 8px 18px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--brand-deep); border-radius: 99px; background: var(--brand-deep); color: #fff; font-size: 14px; font-weight: 650; }
.student-area > .fapes-icon, .nav-student-mobile > .fapes-icon { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; color: #fff; }
.student-area > .fapes-icon svg, .nav-student-mobile > .fapes-icon svg { width: 17px; height: 17px; }
.student-area:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.menu-toggle, .menu-backdrop { display: none; }

.hero { position: relative; min-height: 760px; overflow: hidden; background: var(--fapes-hero-bg, radial-gradient(circle at 74% 17%, rgba(1,159,230,.3), transparent 29%), radial-gradient(circle at 7% 78%, rgba(157,211,244,.18), transparent 31%), var(--surface-brand)); color: var(--fapes-hero-on, #fff); }
.hero-grid, .expert-pattern, .course-hero__grid { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(var(--fapes-hero-line, rgba(255,255,255,.16)) 1px, transparent 1px), linear-gradient(90deg, var(--fapes-hero-line, rgba(255,255,255,.16)) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to right, #000, transparent 78%); }
.hero-carousel__track { position: relative; z-index: 2; display: grid; touch-action: pan-y; }
.hero-slide { min-width: 0; grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 520ms var(--ease-standard), visibility 0s linear 520ms; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.hero-carousel__controls { position: absolute; z-index: 6; right: 50%; bottom: 20px; min-height: 44px; padding: 0; display: flex; align-items: center; gap: 6px; border: 0; background: transparent; box-shadow: none; transform: translateX(50%); }
.hero-carousel__controls[hidden] { display: none; }
.hero-carousel__controls button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--fapes-hero-on, #fff); font: 700 24px/1 "Geist", Arial, sans-serif; cursor: pointer; opacity: .88; transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease, opacity var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard); }
.hero-carousel__controls button:focus-visible { outline: 2px solid var(--fapes-hero-on, #fff); outline-offset: -3px; background: var(--fapes-hero-soft, var(--brand-deep)); color: var(--fapes-hero-on, #fff); opacity: 1; }
.hero-carousel__dots { max-width: min(528px, calc(100vw - 180px)); overflow-x: auto; display: flex; align-items: center; gap: 0; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
.hero-carousel__dots::-webkit-scrollbar { display: none; }
.hero-carousel__dots button { width: 44px; height: 44px; flex: 0 0 44px; scroll-snap-align: center; }
.hero-carousel__dots button > span { width: 7px; height: 7px; display: block; border: 1px solid var(--fapes-hero-on, #fff); border-radius: 50%; background: transparent; transition: background-color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard); }
.hero-carousel__dots button[aria-current="true"] > span { background: var(--fapes-hero-on, #fff); transform: scale(1.35); }
@media (hover: hover) and (pointer: fine) {
  .hero-carousel__controls button:not([data-hero-go-to]):hover { background: var(--fapes-hero-on, #fff); color: var(--fapes-hero-inverse, var(--brand-deep)); opacity: 1; transform: translateY(-1px); }
  .hero-carousel__dots button:hover { opacity: 1; }
  .hero-carousel__dots button:hover > span { background: var(--fapes-hero-on, #fff); transform: scale(1.35); }
}
.hero__inner { position: relative; z-index: 2; width: min(var(--max), 100%); min-height: 760px; margin: 0 auto; padding: 76px clamp(28px, 5vw, 80px) 68px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .84fr); align-items: center; gap: clamp(56px, 8vw, 126px); }
.hero-slide .hero__inner { padding-bottom: 104px; }
.hero-copy { min-width: 0; max-width: 750px; }
.hero-status { margin-bottom: 28px; display: flex; align-items: center; }
.hero .hero-title { max-width: 770px; margin: 0; font-size: clamp(58px, 6vw, 96px); font-weight: 580; line-height: .94; letter-spacing: -.068em; text-wrap: balance; }
.hero .hero-title em, .catalog-heading h2 em, .section-heading h2 em, .course-section h2 em, .archive-hero h1 em, .interest-hero h1 em, .modules-section h2 em, .people-section h2 em { color: var(--fapes-hero-accent, var(--brand-light)); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-course-name { max-width: 680px; margin: 28px 0 0; font-size: clamp(18px, 1.5vw, 23px); font-weight: 580; line-height: 1.34; letter-spacing: -.027em; }
.hero-description { max-width: 650px; margin: 14px 0 0; color: var(--fapes-hero-muted, var(--on-brand-muted)); font-size: 15px; line-height: 1.65; }
.hero-slide .hero-description { overflow: hidden; display: -webkit-box; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-secondary-link { min-height: 44px; padding-inline: 4px; display: inline-flex; align-items: center; color: var(--fapes-hero-on, #fff); font-size: 13px; font-weight: 700; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .18s, text-decoration-color .18s; }
.hero-secondary-link:hover, .hero-secondary-link:focus-visible { color: var(--fapes-hero-accent, var(--brand-light)); text-decoration-color: currentColor; }
.button { min-height: 52px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 34px; border: 1px solid transparent; border-radius: 99px; font-size: 13px; font-weight: 700; transition: transform .18s, background .18s, color .18s, border-color .18s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--brand); color: #fff; }
.button--primary:hover { background: #fff; color: var(--brand-deep); }
.button--enroll { min-height: 58px; padding-inline: 28px; background: var(--enroll); color: #fff; box-shadow: 0 14px 34px rgba(7,95,52,.24); }
.button--enroll:hover { background: var(--enroll-deep); color: #fff; }
.hero .button--enroll, .course-hero .button--enroll { min-width: 260px; justify-content: space-between; }
.button--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero .button--ghost, .course-hero .button--ghost { border-color: var(--fapes-hero-line, rgba(255,255,255,.28)); color: var(--fapes-hero-on, #fff); }
.hero .button--ghost:hover, .course-hero .button--ghost:hover { border-color: var(--fapes-hero-on, #fff); background: var(--fapes-hero-soft, rgba(255,255,255,.08)); }
.button--outline { border-color: var(--brand-deep); color: var(--brand-deep); }
.button--outline:hover { background: var(--brand-deep); color: #fff; }
.button--dark { background: var(--brand-deeper); color: #fff; }
.button--light { background: #fff; color: var(--ink); }
.hero-facts { margin: 36px 0 0; padding-top: 23px; display: grid; grid-template-columns: .8fr .8fr 1.4fr; gap: 18px; border-top: 1px solid var(--fapes-hero-line, rgba(255,255,255,.16)); }
.hero-facts div { min-width: 0; display: grid; gap: 5px; }
.hero-facts dt, .course-hero__facts dt { color: var(--fapes-hero-muted, var(--on-brand-muted)); font: 600 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.hero-facts dd { margin: 0; color: var(--fapes-hero-on, rgba(255,255,255,.94)); font-size: 12px; font-weight: 570; }
.hero-visual { position: relative; isolation: isolate; width: min(100%, 530px); min-width: 0; justify-self: end; }
.hero-brand-symbol { position: absolute; z-index: 0; top: auto; right: clamp(-85px, -15.6%, -65px); bottom: -64px; left: auto; width: clamp(310px, 72%, 390px); aspect-ratio: 1; pointer-events: none; opacity: .34; background: linear-gradient(145deg, #fff 0%, var(--brand-light) 56%, var(--brand-bright) 100%); transform: rotate(8deg); -webkit-mask: url("../images/fapes-symbol.svg") center / contain no-repeat; mask: url("../images/fapes-symbol.svg") center / contain no-repeat; }
.hero-visual--home .hero-brand-symbol { right: clamp(-235px, -42%, -190px); bottom: -78px; width: clamp(440px, 108%, 570px); opacity: .3; }
.hero-visual--detail .hero-brand-symbol { bottom: -34px; }
.hero-visual--final .hero-brand-symbol { right: clamp(-85px, -15.6%, -65px); bottom: -64px; left: auto; transform: rotate(8deg); }
.hero-image-wrap { position: relative; z-index: 1; height: 600px; margin: 0; overflow: hidden; border-radius: 260px 260px 28px 28px; box-shadow: 0 45px 100px rgba(0,0,0,.35); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.03); }
.hero-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,27,51,.86), transparent 38%); }
.hero-image-caption { position: absolute; right: 30px; bottom: 30px; left: 30px; display: grid; gap: 4px; color: #fff; }
.hero-image-caption span { color: rgba(255,255,255,.82); font: 600 9px/1 "Geist Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.hero-image-caption strong { color: #fff; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.hero-sticker { position: absolute; z-index: 3; top: -32px; right: -10px; width: 110px; height: 110px; padding: 20px; display: grid; place-content: center; border-radius: 13px; background: var(--brand); color: #fff; font: 740 9px/1.35 "Geist Mono", monospace; transform: rotate(7deg); }
.hero-sticker span { margin-top: 6px; font-size: 16px; }

.credibility { min-height: 132px; padding: 27px clamp(28px, 5vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(150px, .7fr)) minmax(320px, 1.5fr); align-items: center; gap: 28px; border-bottom: 1px solid var(--line); background: #fff; }
.credibility div { min-width: 0; padding-right: 20px; display: grid; gap: 3px; border-right: 1px solid var(--line); }
.credibility strong { font-size: 20px; letter-spacing: -.04em; }
.credibility span { color: var(--muted); font-size: 12px; }
.credibility p { max-width: 480px; justify-self: end; margin: 0; color: var(--ink-2); font: 400 clamp(17px, 1.5vw, 22px)/1.35 Georgia, serif; }

.catalog-section { max-width: 1540px; margin: 0 auto; padding: 112px clamp(22px, 4.6vw, 72px) 120px; }
.catalog-heading, .section-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: end; gap: 60px; }
.catalog-heading--solo { grid-template-columns: minmax(0, 1fr); }
.section-heading--solo { grid-template-columns: minmax(0, 1fr); }
.catalog-heading--compact h2 { max-width: 760px !important; }
.section-label { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--brand); font: 750 10px/1 "Geist Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.section-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.catalog-heading h2, .section-heading h2 { max-width: 950px; margin: 0; font-size: clamp(48px, 5.2vw, 78px); font-weight: 580; line-height: .98; letter-spacing: -.062em; text-wrap: balance; }
.catalog-heading h2 em, .section-heading h2 em, .course-section h2 em, .archive-hero h1 em, .interest-hero h1 em, .modules-section h2 em, .people-section h2 em { color: var(--brand); }
.catalog-heading > p, .section-heading > p { max-width: 400px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.catalog-controls { margin-top: 50px; }
.program-tabs { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.program-tab { min-width: 0; min-height: 76px; padding: 0 22px; display: flex; align-items: center; gap: 12px; border: 0; border-radius: 18px; background: #fff; color: var(--ink-3); box-shadow: 0 8px 26px rgba(9, 26, 51, .055); font-size: 15px; font-weight: 650; text-align: left; transition: background .18s, color .18s, box-shadow .18s, transform .18s; }
.program-tab span { color: var(--muted-light); font: 650 11px/1 "Geist Mono", monospace; }
.program-tab:hover { background: var(--brand-pale); color: var(--brand-deeper); box-shadow: 0 12px 30px rgba(9, 26, 51, .09); transform: translateY(-2px); }
.program-tab.is-active { background: var(--brand-deep); color: #fff; box-shadow: 0 14px 34px rgba(7, 101, 181, .2); }
.program-tab.is-active span { color: rgba(255, 255, 255, .68); }
.catalog-tools { display: block; }
.course-search { width: 100%; min-width: 0; min-height: 62px; padding: 0 17px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--control-border); border-radius: 16px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.course-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(7,101,181,.1); }
.search-symbol { position: relative; width: 18px; height: 18px; flex: 0 0 auto; border: 2px solid var(--ink); border-radius: 50%; }
.search-symbol::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; background: var(--ink); transform: rotate(45deg); transform-origin: left; }
.course-search input { width: 100%; min-width: 0; height: 54px; border: 0; outline: 0; background: transparent; font-size: 14px; }
.course-search input::placeholder { color: var(--placeholder); }
.course-search button[data-clear-search] { width: 34px; height: 34px; flex: 0 0 auto; border: 0; border-radius: 50%; background: var(--brand-pale); font-size: 18px; }
.course-search .course-search__submit { min-height: 40px; padding: 0 15px; flex: 0 0 auto; border: 0; border-radius: 99px; background: var(--brand-deep); color: #fff; font-size: 11px; font-weight: 700; }
.filter-toggle { position: relative; min-height: 58px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--control-border); border-radius: 99px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 650; }
.filter-toggle:hover, .filter-toggle[aria-expanded="true"] { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }
.filter-lines { width: 17px; display: grid; gap: 4px; }
.filter-lines i { height: 1px; background: currentColor; }
.filter-lines i:nth-child(2) { width: 11px; }
.filter-lines i:nth-child(3) { width: 14px; }
.filter-count { min-width: 21px; height: 21px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--brand-light); color: var(--ink); font: 750 10px/1 "Geist Mono", monospace; }
.catalog-filter-row { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.catalog-results-count { margin: 0 0 0 auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.catalog-results-count strong { color: var(--ink); font-size: 14px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.active-filters > span { color: var(--muted); font-size: 11px; }
.active-filters strong { padding: 7px 10px; border-radius: 99px; background: var(--brand-pale); color: var(--brand-deep); font-size: 11px; font-weight: 700; }
.filter-group { min-width: min(380px, 100%); margin: 0; padding: 0; border: 0; }
.filter-group legend { margin-bottom: 10px; padding: 0; color: var(--muted); font-size: 12px; line-height: 1.35; font-weight: 650; }
.quick-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quick-status button { min-height: 46px; padding: 0 15px; border: 1px solid var(--control-border); border-radius: 99px; background: transparent; color: var(--ink-3); font-size: 12px; font-weight: 600; white-space: nowrap; }
.quick-status button:hover, .quick-status button.is-active { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }
.advanced-filters { margin-top: 12px; padding: 24px; display: grid; grid-template-columns: minmax(360px, 1.35fr) repeat(2, minmax(210px, .8fr)) auto; align-items: end; gap: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.advanced-filters label { min-width: min(260px, 100%); display: grid; gap: 8px; color: var(--muted); font: 700 10px/1 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.advanced-filters select { min-height: 44px; padding: 0 38px 0 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); font: 600 12px/1 "Geist", sans-serif; text-transform: none; }
.clear-filters { width: fit-content; min-height: 48px; margin-left: auto; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; justify-self: end; border: 0; border-bottom: 2px solid currentColor; border-radius: 5px; background: transparent; color: var(--brand-deep); font-size: 16px; line-height: 1.2; font-weight: 650; transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard); }
.clear-filters > .fapes-icon { width: 20px; height: 20px; flex: 0 0 20px; border: 0; border-radius: 0; background: transparent; color: inherit; }
.clear-filters > .fapes-icon svg { width: 20px; height: 20px; stroke-width: 1.9; }
@media (hover: hover) and (pointer: fine) {
  .clear-filters:hover { color: var(--brand-deeper); transform: translateY(-1px); }
}
@media (max-width: 1024px), (pointer: coarse) {
  .course-search input, .advanced-filters select { font-size: 16px; }
}
@media (min-width: 1025px) {
  .catalog-section:has(> .catalog-heading--solo) {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    column-gap: clamp(40px, 5vw, 80px);
  }
  .catalog-section:has(> .catalog-heading--solo) > *,
  .catalog-section:has(> .catalog-heading--solo) .catalog-controls > * { grid-column: 1 / -1; }
  .catalog-section:has(> .catalog-heading--solo) > .catalog-heading {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .catalog-section:has(> .catalog-heading--solo) > .catalog-controls { display: contents; }
  .catalog-section:has(> .catalog-heading--solo) .catalog-tools {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .catalog-section:has(> .catalog-heading--solo) .program-tabs { margin-top: 32px; }
}
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.catalog-controls + .course-grid { margin-top: 28px; }
.course-card { --card-index: 0; min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(7,27,51,.13); border-radius: 22px; background: #fff; box-shadow: 0 5px 20px rgba(7,27,51,.03); animation: card-in .45s both; animation-delay: calc(var(--card-index) * 45ms); transition: transform .25s, box-shadow .25s, border-color .25s; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.course-card:hover { border-color: rgba(7,27,51,.26); box-shadow: var(--shadow); transform: translateY(-6px); }
.course-media { position: relative; container-type: inline-size; aspect-ratio: 1.36 / 1; overflow: hidden; background: #dfe8ee; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.course-card:hover .course-media img { transform: scale(1.045); }
.course-media__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,27,51,.18), transparent 40%, rgba(7,27,51,.25)); }
.course-tags { position: absolute; z-index: 2; top: 14px; right: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.course-card--has-mec { --mec-card-size: 64px; }
@supports (width: 1cqw) {
  .course-card--has-mec { --mec-card-size: clamp(64px, 16cqw, 88px); }
}
.status-tag, .modality-tag, .course-hero__tags > span { min-height: 30px; padding: 0 11px; display: inline-flex; align-items: center; gap: 7px; border-radius: 99px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 4px 14px rgba(7,27,51,.08); font-size: 10px; font-weight: 700; backdrop-filter: blur(8px); }
.status-tag.status-tag--matriculas-abertas { border: 1px solid #62ad79; background: #bfe4ca; color: #123923; }
.status-tag.status-tag--em-andamento { border: 1px solid #c29b2b; background: #e8c96b; color: #3f3100; }
.status-tag.status-tag--lista-de-espera { border: 1px solid #9baab6; background: #d8e0e6; color: #253746; }
.status-tag.status-tag--em-breve, .status-tag.status-tag--status-a-confirmar { border: 1px solid #8fb6d1; background: #dbeaf4; color: var(--ink-2); }
.modality-tag { background: var(--brand-deeper); color: #fff; }
.mec-seal { --mec-size: 112px; position: absolute; z-index: 3; top: 20px; right: 20px; width: var(--mec-size); height: var(--mec-size); padding: 11px; display: grid; place-items: stretch; flex: 0 0 var(--mec-size); border: 2px solid var(--mec-gold-edge); border-radius: 50%; background: linear-gradient(145deg, #f9dc7a 0%, var(--mec-gold) 52%, #a9670d 100%); color: var(--mec-ink); box-shadow: 0 8px 20px rgba(7,27,51,.22), inset 0 1px 0 rgba(255,255,255,.45); text-align: center; text-shadow: 0 1px 2px rgba(83,46,0,.34); pointer-events: none; }
.mec-seal::before { content: ""; position: absolute; inset: 5px; border: 2px solid var(--mec-gold-edge); border-radius: inherit; }
.mec-seal__content { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.mec-seal strong { font: 700 clamp(24px, calc(var(--mec-size) * .25), 35px)/1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.mec-seal small { display: grid; color: inherit; font: 800 clamp(7px, calc(var(--mec-size) * .074), 9px)/1.16 "Geist", sans-serif; letter-spacing: .015em; text-transform: uppercase; white-space: nowrap; }
/* Centro da medalha na foto de referência, já considerando o recorte 1.36:1.
   O mínimo legível mantém 8px de margem mesmo nos cards mais estreitos. */
.mec-seal--card { --mec-size: var(--mec-card-size, 64px); top: auto; right: max(10.2%, calc(var(--mec-size) * .5 + 8px)); bottom: max(18.1%, calc(var(--mec-size) * .5 + 8px)); padding: calc(var(--mec-size) * .14); border-width: 1px; box-shadow: 0 3px 9px rgba(7,27,51,.18); transform: translate(50%, 50%); }
.mec-seal--card::before { inset: calc(var(--mec-size) * .06); border-width: 1px; }
.mec-seal--card .mec-seal__content { gap: calc(var(--mec-size) * .04); }
.mec-seal--card strong { font-size: calc(var(--mec-size) * .22); letter-spacing: -.025em; }
.mec-seal--card small { font-size: clamp(6px, calc(var(--mec-size) * .074), 7px); line-height: 1.2; letter-spacing: .01em; }
.mec-seal--home, .mec-seal--detail, .mec-seal--final { --mec-size: 120px; top: 54px; right: auto; left: -44px; }
.mec-seal--home .mec-seal__content, .mec-seal--detail .mec-seal__content, .mec-seal--final .mec-seal__content { transform: rotate(-6deg); }
.mec-seal--detail, .mec-seal--final { left: clamp(-44px, -3vw, -24px); }
.mec-seal--modules { --mec-size: 96px; top: 18px; right: 18px; }
.course-card__body { flex: 1; padding: 22px; display: flex; flex-direction: column; }
.course-area { margin: 0 0 11px; color: var(--brand-deep); font: 750 9px/1.25 "Geist Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.course-card h3 { margin: 0; font-size: clamp(20px, 1.55vw, 24px); font-weight: 630; line-height: 1.13; letter-spacing: -.038em; text-wrap: balance; }
.course-facts { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-facts div { min-width: 0; padding: 14px 0; }
.course-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.course-facts dt, .coordinators small, .interest-summary dt { margin-bottom: 5px; color: var(--muted-light); font: 700 11px/1 "Geist Mono", monospace; letter-spacing: .055em; text-transform: uppercase; }
.course-facts dd { margin: 0; font-size: 12px; font-weight: 650; }
.coordinators { min-height: 72px; padding: 15px 0 13px; display: flex; align-items: center; gap: 12px; }
.coordinator-avatars { flex: 0 0 auto; display: flex; }
.coordinator-avatars span { width: 34px; height: 34px; margin-left: -8px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--brand-pale); color: var(--brand-deep); font-size: 9px; font-weight: 750; }
.coordinator-avatars span:first-child { margin-left: 0; background: var(--brand-light); }
.coordinators > div:last-child { min-width: 0; }
.coordinators small { display: block; }
.coordinators p { overflow: hidden; margin: 0; color: #4d5b68; font-size: 12px; font-weight: 580; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.audience { margin: 0 0 17px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.audience::before { content: "Para "; color: var(--ink); font-weight: 700; }
.course-card__actions { margin-top: auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px; }
.card-primary, .card-secondary { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--brand-deep); border-radius: 99px; font-size: 11px; font-weight: 700; text-align: center; transition: background .17s, color .17s, border-color .17s; }
.card-primary { background: var(--brand-deep); color: #fff; }
.card-primary:hover { border-color: var(--brand); background: var(--brand); }
.card-primary--enroll { border-color: var(--enroll); background: var(--enroll); }
.card-primary--enroll:hover { border-color: var(--enroll-deep); background: var(--enroll-deep); }
.card-secondary { justify-content: center; border-color: var(--line); }
.card-secondary:hover { border-color: var(--brand); color: var(--brand-deep); }
.empty-state { min-height: 340px; padding: 48px 24px; display: grid; place-items: center; align-content: center; gap: 10px; border: 1px dashed rgba(7,27,51,.25); border-radius: 24px; background: rgba(255,255,255,.5); text-align: center; }
.empty-state > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-light); font-size: 25px; }
.empty-state h3 { margin: 8px 0 0; font-size: 22px; }
.empty-state p { margin: 0; color: var(--muted); }
.empty-state button { min-height: 44px; margin-top: 8px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--brand-deep); color: #fff; }
.section-end-link { margin-top: 34px; display: flex; justify-content: flex-end; }
.section-end-link a, .section-heading__link { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.section-end-link .catalog-all-button { min-height: 56px; padding-inline: 30px; border: 0; font-size: 16px; }

.expert-banner { position: relative; min-height: 340px; padding: 64px clamp(28px, 7vw, 110px); overflow: hidden; display: grid; grid-template-columns: 140px minmax(0, 1.2fr) minmax(300px, .65fr); align-items: center; gap: clamp(32px, 5vw, 76px); background: var(--brand-deep); color: #fff; }
.expert-pattern { opacity: .09; mask-image: none; }
.expert-symbol { position: relative; z-index: 2; width: 130px; height: 130px; display: grid; place-items: center; border: 0; border-radius: 0; box-shadow: none; }
.expert-symbol::before, .expert-symbol::after { content: ""; position: absolute; background: var(--brand-light); }
.expert-symbol::before { top: -20px; width: 1px; height: 170px; transform: rotate(45deg); }
.expert-symbol::after { width: 170px; height: 1px; transform: rotate(45deg); }
.expert-symbol span { position: relative; z-index: 2; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-light); color: var(--ink); font: 400 34px/1 Georgia, serif; }
.expert-banner--image { grid-template-columns: minmax(160px, 220px) minmax(0, 1.2fr) minmax(260px, .65fr); }
.expert-visual { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1.12; margin: 0; overflow: hidden; border-radius: 110px 110px 24px 24px; }
.expert-visual__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.expert-visual:empty { display: none; }
.expert-banner--image:has(.expert-visual:empty) { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .65fr); }
.expert-copy, .expert-action { position: relative; z-index: 2; min-width: 0; }
.expert-copy > p { margin: 0 0 17px; color: var(--brand-light); font: 750 10px/1 "Geist Mono", monospace; letter-spacing: .09em; text-transform: uppercase; }
.expert-copy h2 { max-width: 760px; margin: 0; font-size: clamp(36px, 4.2vw, 64px); font-weight: 580; line-height: 1; letter-spacing: -.058em; text-wrap: balance; }
.expert-action { align-self: end; }
.expert-action > p { max-width: 340px; margin: 0 0 22px; color: var(--on-brand-muted); font-size: 14px; line-height: 1.6; }
.expert-action > a { min-height: 58px; padding: 0 22px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid var(--enroll-border); border-radius: 99px; background: var(--enroll); color: #fff; box-shadow: 0 16px 42px rgba(9,26,51,.24); font-size: 13px; font-weight: 750; transition: background .17s, transform .17s; }
.expert-action > a:hover { background: var(--enroll-deep); transform: translateY(-2px); }
.expert-action > a svg { width: 22px; height: 22px; flex: 0 0 auto; }

.events-section { padding: 110px clamp(24px, 5vw, 80px) 120px; background: linear-gradient(180deg, #eef6fa, #f8fbfc); color: var(--ink); }
.events-section .section-heading { width: min(100%, var(--max)); margin: 0 auto; }
.section-heading--light .section-label { color: var(--brand-deep); }
.section-heading--light h2 em { color: var(--brand); }
.section-heading--light > p { color: var(--muted); }
.event-grid { width: min(100%, var(--max)); margin: 64px auto 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.event-card { min-width: 0; min-height: 390px; overflow: hidden; display: grid; grid-template-columns: minmax(420px, .92fr) minmax(0, 1.08fr); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 24px 75px rgba(7,27,51,.07); }
.event-card__visual { position: relative; min-height: 100%; overflow: hidden; display: grid; align-content: space-between; padding: 32px; background: linear-gradient(155deg, #cdeaf8, var(--brand-light)); color: var(--ink); }
.event-card__visual::before, .event-card__visual::after { content: ""; position: absolute; border: 1px solid rgba(7,27,51,.22); border-radius: 50%; }
.event-card__visual::before { width: 280px; height: 280px; right: -145px; bottom: -80px; }
.event-card__visual::after { width: 150px; height: 150px; right: -15px; top: 70px; }
.event-card__visual span { position: relative; z-index: 2; font: 700 70px/.9 Georgia, serif; }
.event-card__visual b { position: relative; z-index: 2; font: 750 11px/1 "Geist Mono", monospace; letter-spacing: .16em; writing-mode: vertical-rl; }
.event-card__visual i { position: absolute; top: 32px; right: 32px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 8px rgba(7,27,51,.1); }
.event-card__visual--image { padding: 0; background: var(--ink-2); }
.event-card__visual--image::before, .event-card__visual--image::after { display: none; }
.event-card__visual--image img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.event-card--congresso .event-card__visual--image img { object-position: center 56%; }
.event-card__content { min-width: 0; padding: clamp(34px, 4vw, 62px); display: flex; flex-direction: column; align-items: flex-start; }
.event-card h3 { margin: 0; font-size: clamp(30px, 3vw, 48px); font-weight: 580; line-height: 1; letter-spacing: -.052em; text-wrap: balance; }
.event-card__content > p { margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.event-card__meta { width: 100%; margin: 28px 0 30px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.event-card__meta > div { min-width: 0; display: grid; grid-template-columns: minmax(112px, .42fr) minmax(0, 1fr); align-items: center; gap: 14px; }
.event-card__meta dt { display: flex; align-items: center; gap: 9px; color: var(--brand-deep); font: 720 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.event-card__meta dt .fapes-icon { width: 22px; height: 22px; flex: 0 0 22px; border: 0; border-radius: 0; background: transparent; }
.event-card__meta dt .fapes-icon svg { width: 20px; height: 20px; }
.event-card__meta dd { margin: 0; color: var(--ink-3); font-size: 14px; font-weight: 620; line-height: 1.4; overflow-wrap: anywhere; }
.event-card__meta > .event-card__meta-item--value-only { grid-template-columns: minmax(0, 1fr); }
.event-card__meta-item--value-only dd { grid-column: 1; }
.event-card__content > a { min-height: 48px; margin-top: auto; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--brand); border-radius: 99px; color: var(--brand-deep); font-size: 12px; font-weight: 700; text-align: center; }
.event-card__content > a:hover { background: var(--brand); color: #fff; }

.blog-section { padding: 112px clamp(24px, 5vw, 80px) 120px; background: #fff; }
.blog-section .section-heading, .blog-section .post-grid { width: min(100%, var(--max)); margin-right: auto; margin-left: auto; }
.blog-section .section-heading__link { justify-self: end; align-self: end; color: var(--brand-deep); }
.post-grid { margin-top: 60px !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.post-card__visual { position: relative; aspect-ratio: 1.45 / 1; overflow: hidden; display: grid; place-items: center; background: linear-gradient(145deg, var(--brand-pale), var(--brand-light)); color: var(--brand-deep); }
.post-card__visual::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -130px; border: 1px solid rgba(7,27,51,.18); border-radius: 50%; box-shadow: inset 0 0 0 45px rgba(255,255,255,.16); }
.post-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.post-card:hover .post-card__visual img { transform: scale(1.035); }
.post-card__visual > span { position: relative; z-index: 2; font: 750 15px/1.15 "Geist Mono", monospace; letter-spacing: .12em; }
.post-card__body { padding: 24px; }
.post-card__body > p { margin: 0 0 14px; color: var(--brand-deep); font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .08em; }
.post-card h3, .post-card h2 { margin: 0; font-size: clamp(22px, 2vw, 29px); font-weight: 610; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.post-card__body > div, .post-card__body > div p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.post-card__link { min-height: 44px; margin-top: 24px; display: inline-flex; align-items: center; gap: 16px; border-bottom: 1px solid currentColor; color: var(--brand-deep); font-size: 11px; font-weight: 700; }

.books-banner { position: relative; min-height: 520px; padding: 70px clamp(28px, 7vw, 110px); overflow: hidden; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(440px, 1.1fr); align-items: center; gap: 60px; background: radial-gradient(circle at 76% 43%, rgba(1,159,230,.14), transparent 35%), var(--brand-pale); color: var(--ink); }
.books-banner::before { content: "BOOKS"; position: absolute; right: -40px; bottom: -74px; color: rgba(7,27,51,.035); font-size: 230px; font-weight: 800; line-height: 1; letter-spacing: -.08em; }
.books-copy { position: relative; z-index: 3; max-width: 660px; }
.books-brand { width: min(293px, 72vw); margin-bottom: 28px; }
.books-brand__logo { width: 100%; height: auto; filter: brightness(0) saturate(100%) invert(12%) sepia(39%) saturate(1523%) hue-rotate(174deg) brightness(88%) contrast(102%); }
.books-copy > p { max-width: 500px; margin: 0 0 17px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.books-copy h2 { max-width: 700px; margin: 0; font-size: clamp(42px, 4.8vw, 70px); font-weight: 570; line-height: .98; letter-spacing: -.062em; text-wrap: balance; }
.books-copy > a { min-height: 54px; margin-top: 30px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; background: var(--brand-deep); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.books-copy > a:hover { background: var(--brand); transform: translateY(-2px); }
.book-stack { position: relative; z-index: 2; width: min(100%, 620px); height: 380px; justify-self: end; }
.book-stack::before { content: ""; position: absolute; top: 24px; right: 50px; width: 340px; height: 340px; border: 1px solid rgba(7,27,51,.1); border-radius: 50%; box-shadow: inset 0 0 0 52px rgba(255,255,255,.2); }
.book { position: absolute; width: 160px; height: 228px; object-fit: cover; border-radius: 3px 9px 9px 3px; box-shadow: -14px 24px 55px rgba(9,26,51,.25), 0 0 34px rgba(7,101,181,.09); filter: brightness(1.04) saturate(.96); transition: transform .35s; }
.book--one { z-index: 4; top: 88px; left: 46%; transform: rotate(-5deg) translateX(-50%); }
.book--two { z-index: 2; top: 28px; left: 10%; transform: rotate(-12deg); }
.book--three { z-index: 3; top: 124px; right: 2%; transform: rotate(10deg); }
.book-stack:hover .book--one { transform: rotate(-2deg) translate(-50%, -7px); }
.book-stack:hover .book--two { transform: rotate(-16deg) translate(-7px, -4px); }
.book-stack:hover .book--three { transform: rotate(14deg) translate(7px, -4px); }
.book-stack:not(:has(img)) { display: none; }
.books-banner:not(:has(.book-stack img)) { grid-template-columns: minmax(0, 1fr); min-height: 0; }

/* Conteúdo sem foto não reserva uma coluna ou uma faixa vazia. */
.hero__inner:not(:has(.hero-visual)), .course-hero__content:not(:has(.hero-visual)), .course-about:has(.course-about__visual:not(:has(img))) { grid-template-columns: minmax(0, 1fr); }
.course-about__visual:not(:has(img)), .course-atmosphere:not(:has(img)), .modules-visual:not(:has(img)) { display: none; }
.course-final-cta__inner:not(:has(.hero-visual)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "action"; }
.modules-layout:not(:has(.modules-visual img)) { grid-template-columns: minmax(0, 1fr); }

.newsletter { padding: 72px clamp(28px, 6vw, 96px); display: grid; grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.1fr); align-items: center; gap: 80px; background: var(--brand-dark); color: #fff; }
.newsletter .section-label { color: #fff; }
.newsletter h2 { max-width: 680px; margin: 0; font-size: clamp(34px, 3.6vw, 54px); font-weight: 590; line-height: 1; letter-spacing: -.055em; }
.newsletter__action { display: grid; gap: 22px; }
.newsletter__action > p { max-width: 480px; margin: 0; color: var(--on-brand-subtle); line-height: 1.6; }
.newsletter__form { display: grid; gap: 10px; }
.newsletter__controls { min-height: 62px; padding: 7px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; border: 1px solid rgba(255,255,255,.34); border-radius: 99px; background: rgba(255,255,255,.94); box-shadow: 0 14px 40px rgba(2,20,38,.2); }
.newsletter__controls input { min-width: 0; padding: 0 18px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.newsletter__controls input::placeholder { color: var(--placeholder); }
.newsletter__controls input:focus-visible { border-radius: 99px; box-shadow: inset 0 0 0 2px var(--brand-deep); }
.newsletter__controls input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #a32727; }
.newsletter__controls .button { min-height: 48px; padding-inline: 22px; }
.newsletter__controls .button:disabled { cursor: wait; opacity: .7; }
.newsletter__form small { padding-left: 18px; color: var(--on-brand-subtle); font-size: 11px; line-height: 1.5; }
.newsletter__form small a { color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.newsletter__form small a:focus-visible { outline-color: var(--focus-inverse); }
.newsletter__form[aria-busy="true"] { opacity: .82; }
.newsletter__success { min-height: 62px; padding: 15px 20px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(7,27,51,.22); border-radius: 20px; background: rgba(255,255,255,.76); }
.newsletter__success > span { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; background: var(--enroll); color: #fff; font-weight: 800; }
.newsletter__success p { max-width: none; color: var(--ink-3); }
.newsletter__success strong { color: var(--ink); }
.newsletter__error { min-height: 62px; padding: 15px 20px; border: 1px solid #a84b4b; border-radius: 20px; background: #fff4f4; color: #702828; }
.newsletter__error p { max-width: none; }
.newsletter__success[hidden], .newsletter__error[hidden] { display: none; }
.newsletter__success:focus-visible, .newsletter__error:focus-visible { outline: 3px solid var(--focus-inverse); outline-offset: 4px; }

.site-footer { padding: 72px clamp(28px, 5vw, 80px) 22px; background: var(--brand-dark); color: #fff; }
.footer-main { display: grid; grid-template-columns: minmax(240px, 1.2fr) .65fr .65fr minmax(260px, .8fr); gap: 60px; padding-bottom: 64px; }
.footer-brand > .brand--compact { width: 178px; height: auto; max-width: 100%; }
.footer-brand > .brand--compact img, .footer-brand > .brand--compact .custom-logo { width: 100%; height: auto; }
.footer-brand > p { max-width: 340px; margin: 22px 0 25px; color: var(--on-brand-muted); font-size: 15px; line-height: 1.6; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: rgba(255,255,255,.8); }
.socials svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--brand-light); color: var(--ink); }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-links h2, .footer-contact h2 { margin: 0 0 10px; color: var(--on-brand-muted); font: 750 11px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { min-height: 30px; display: inline-flex; align-items: center; color: var(--on-brand-muted); font-size: 15px; line-height: 1.45; }
.footer-links a:hover, .footer-contact > a:hover { color: var(--brand-light); }
.footer-menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.credibility--flexible { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.credibility--flexible p { grid-column: 1 / -1; max-width: none; justify-self: start; }
.footer-whatsapp { min-height: 50px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--enroll-border); border-radius: 99px; background: var(--enroll); color: #fff; font-size: 15px; font-weight: 750; transition: transform .18s, background .18s, border-color .18s; }
.footer-whatsapp svg { width: 20px; height: 20px; flex: 0 0 auto; }
.footer-contact > .footer-whatsapp:hover { border-color: var(--enroll-border); background: var(--enroll-deep); color: #fff; transform: translateY(-2px); }
.footer-contact__list { width: 100%; margin: 8px 0 0; padding: 0; display: grid; gap: 20px; list-style: none; }
.footer-contact__item { min-width: 0; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; gap: 12px; }
.footer-contact__item > .fapes-icon { width: 24px; height: 24px; border: 0; border-radius: 0; background: transparent; color: var(--brand-light); }
.footer-contact__item > .fapes-icon svg { width: 19px; height: 19px; }
.footer-contact__item > div { min-width: 0; display: grid; gap: 5px; }
.footer-contact__label { color: var(--on-brand-muted); font: 700 9px/1.2 "Geist Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.footer-contact__item a, .footer-contact__item address { color: #fff; font-size: 15px; font-style: normal; line-height: 1.55; overflow-wrap: anywhere; }
.footer-contact__item a:hover { color: var(--brand-light); }
.footer-bottom { min-height: 54px; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.2); color: var(--on-brand-muted); font-size: 11px; }
.footer-bottom div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.footer-bottom div > :is(a, button) { min-height: 36px; display: inline-flex; align-items: center; }
.footer-bottom button { padding: 4px 2px; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover, .footer-bottom button:hover, .footer-bottom p:last-child a { color: #fff; }

.floating-whatsapp { position: fixed; z-index: 78; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); display: grid; justify-items: end; }
.floating-whatsapp__toggle { min-height: 58px; padding: 0 22px; display: inline-flex; align-items: center; gap: 11px; border: 1px solid var(--enroll-border); border-radius: 99px; background: var(--enroll); color: #fff; box-shadow: 0 16px 42px rgba(9,26,51,.24); font-size: 13px; font-weight: 750; }
.floating-whatsapp__toggle:hover, .floating-whatsapp__toggle[aria-expanded="true"] { background: var(--enroll-deep); }
.floating-whatsapp__toggle svg { width: 22px; height: 22px; flex: 0 0 auto; }
.floating-whatsapp__panel { width: min(310px, calc(100vw - 32px)); margin-bottom: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 18px 52px rgba(9,26,51,.22); }
.floating-whatsapp__panel > p { margin: 5px 8px 10px; color: var(--muted); font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.floating-whatsapp__panel a { min-height: 64px; padding: 11px 12px; display: grid; align-content: center; gap: 5px; border-radius: 12px; color: var(--ink); }
.floating-whatsapp__panel a + a { border-top: 1px solid var(--line); }
.floating-whatsapp__panel a:hover { background: var(--brand-pale); }
.floating-whatsapp__panel strong { font-size: 15px; }
.floating-whatsapp__panel span { color: var(--muted); font-size: 11px; }

.policy-notice { position: fixed; z-index: 95; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; width: min(calc(100% - 32px), 1080px); max-height: calc(100dvh - 32px); margin: 0 auto; padding: 22px; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 26px; border: 1px solid rgba(7,101,181,.24); border-radius: 20px; background: rgba(255,255,255,.98); color: var(--ink); box-shadow: 0 24px 75px rgba(9,26,51,.25); backdrop-filter: blur(18px); }
.policy-notice__copy { min-width: 0; }
.policy-notice__copy > strong { display: block; font-size: 17px; }
.policy-notice__copy > p { max-width: 760px; margin: 7px 0 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.policy-notice__copy > div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.policy-notice__copy a { min-height: 32px; display: inline-flex; align-items: center; color: var(--brand-deep); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.policy-notice__actions { min-width: 180px; display: grid; gap: 10px; }
.policy-notice__actions > .button { width: 100%; justify-content: center; text-align: center; }
.policy-notice--analytics .policy-notice__actions { width: min(440px, 42vw); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.policy-notice__choice { min-width: 0; background: #fff; }
.policy-notice__choice:hover, .policy-notice__choice[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.policy-notice--noscript { position: static; width: auto; max-height: none; margin: 20px 16px; grid-template-columns: minmax(0, 1fr); }
body.policy-notice-open .floating-whatsapp, body.policy-notice-open .mobile-course-cta, body.menu-open .floating-whatsapp { display: none !important; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.catalog-section--archive[tabindex="-1"]:focus { outline: none; }
:where(.expert-banner, .site-footer, .archive-hero, .about-hero, .audience-section__content, .format-card, .course-video, .objective-card--featured, .course-skills, .module-cta, .people-section--faculty, .course-final-cta, .interest-hero, .interest-summary__contact, .contact-hero, .contact-whatsapp) :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.mobile-course-cta:focus-visible { outline-color: var(--focus-inverse); }
:where(.hero, .course-hero) :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline-color: var(--fapes-hero-on, #fff); }
.person-card__panel :is(a, button, input, select, textarea, [tabindex]):focus-visible { outline-color: var(--focus); }

/* Catálogo, páginas editoriais e conteúdo padrão */
.archive-hero { position: relative; min-height: 480px; overflow: hidden; display: grid; align-items: end; background: radial-gradient(circle at 82% 28%, rgba(1,159,230,.3), transparent 32%), var(--surface-brand); color: #fff; }
.archive-hero::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, #000, transparent); }
.archive-hero__inner { position: relative; z-index: 2; width: min(100%, var(--max)); margin: 0 auto; padding: 88px clamp(24px, 5vw, 80px) 76px; }
.archive-hero .section-label { color: var(--focus-inverse); }
.archive-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(54px, 6.3vw, 94px); font-weight: 580; line-height: .94; letter-spacing: -.068em; text-wrap: balance; }
.archive-hero h1 em { color: var(--brand-light); }
.archive-hero__inner > p:last-child { max-width: 650px; margin: 28px 0 0; color: var(--on-brand-muted); font-size: 16px; line-height: 1.65; }
.catalog-section--archive { padding-top: 96px; }
.pagination { margin-top: 58px; display: flex; justify-content: center; }
.pagination > ul.page-numbers { margin: 0; padding: 7px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.72); list-style: none; }
.pagination li { display: flex; }
.pagination a.page-numbers, .pagination span.page-numbers { min-width: 44px; min-height: 44px; padding: 0 14px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 99px; background: transparent; font-size: 13px; font-weight: 700; }
.pagination :is(.prev, .next) { min-width: 110px; }
.pagination .current, .pagination a:hover { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }
.pagination a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.content-page { width: var(--content); min-height: 60vh; margin: 0 auto; padding: 100px 0 120px; }
.page-heading { max-width: 1000px; margin-bottom: 60px; }
.page-heading h1 { margin: 0; font-size: clamp(48px, 6vw, 86px); letter-spacing: -.06em; }
.page-heading__intro { max-width: 760px; margin: 24px 0 0; color: var(--text-muted); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.65; }
.content-page__image { margin: 0 0 56px; overflow: hidden; border-radius: 28px; }
.content-page__image img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.entry-content { max-width: 820px; font-size: 17px; line-height: 1.78; }
.entry-content h2, .entry-content h3 { margin-top: 2.2em; letter-spacing: -.035em; }
.entry-content a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content .legal-draft-notice { margin: 0 0 42px; padding: 20px 22px; border: 1px solid rgba(194,123,0,.34); border-radius: 14px; background: #fff7df; color: #62430a; font-size: 14px; line-height: 1.6; }
.entry-card { padding: 28px 0; border-top: 1px solid var(--line); }
.entry-card h2 { margin: 0; font-size: 28px; }
.not-found { min-height: 70vh; padding: 110px 24px; display: grid; place-content: center; justify-items: start; background: var(--brand-pale); }
.not-found h1 { max-width: 760px; margin: 0; font-size: clamp(52px, 7vw, 94px); line-height: .95; letter-spacing: -.065em; }
.not-found > p:not(.section-label) { max-width: 560px; color: var(--muted); font-size: 17px; }
.blog-archive { width: var(--content); margin: 0 auto; padding: 100px 0 120px; }
.blog-archive .post-grid { margin-top: 0 !important; }
.article-page { background: #fff; }
.article-hero { width: min(100% - 48px, 1360px); margin: 0 auto; padding: 32px 0 0; }
.article-breadcrumbs { margin-bottom: clamp(26px, 3vw, 42px); color: var(--muted); font-size: 12px; }
.article-breadcrumbs ol { margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; list-style: none; }
.article-breadcrumbs li { display: flex; align-items: center; gap: 14px; }
.article-breadcrumbs li + li::before { content: "/"; color: var(--line); }
.article-breadcrumbs a { min-height: 44px; display: inline-flex; align-items: center; color: var(--brand-deep); }
.article-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-hero__layout--with-cover { display: grid; grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr); align-items: center; gap: clamp(36px, 5vw, 76px); }
.article-hero__copy { min-width: 0; }
.article-hero h1 { max-width: 760px; margin: 0; font-size: clamp(38px, 4.8vw, 68px); font-weight: 580; line-height: 1.07; letter-spacing: -.05em; overflow-wrap: anywhere; text-wrap: balance; }
.article-meta { margin: 26px 0 0; color: var(--muted); font: 500 12px/1.6 "Geist Mono", monospace; }
.article-cover { margin: 0; overflow: hidden; display: grid; place-items: center; border-radius: 24px; background: var(--paper); }
.article-cover img { display: block; width: 100%; height: auto; max-height: min(56vh, 520px); object-fit: contain; }
.entry-content--article { width: min(100% - 48px, 760px); margin: 0 auto; padding: 56px 0 76px; font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.entry-content--article > :first-child { margin-top: 0; }
.entry-content--article > :last-child { margin-bottom: 0; }
.entry-content--article p { margin: 0 0 1.5em; }
.entry-content--article h2, .entry-content--article h3 { line-height: 1.2; }
.entry-content--article li + li { margin-top: .5em; }
.entry-content--article blockquote { margin: 32px 0; padding: 20px 28px; border-left: 3px solid var(--brand); background: var(--brand-pale); }
.entry-content--article figure { max-width: 100%; margin-inline: 0; }
.entry-content--article figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.entry-content--article .wp-block-table, .entry-content--article pre { overflow-x: auto; }
.entry-content--article iframe { max-width: 100%; }
.article-nav { width: min(100% - 48px, 1120px); margin: 0 auto; padding: 32px 0 88px; border-top: 1px solid var(--line); }
.article-back { min-height: 48px; display: inline-flex; align-items: center; gap: 16px; color: var(--brand-deep); font-size: 14px; font-weight: 650; }
.article-nav__posts { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.article-nav__posts:empty { display: none; }
.article-nav__posts > a { min-height: 112px; padding: 24px; display: grid; align-content: start; gap: 12px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, background .2s; }
.article-nav__posts > a span { color: var(--muted); font: 500 10px/1.5 "Geist Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.article-nav__posts > a strong { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.article-nav__posts > a:hover { border-color: var(--brand); background: var(--brand-pale); }
.article-pages { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.article-pages > a, .article-pages > span { min-width: 44px; min-height: 44px; padding: 6px 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; }
.article-pages > .current { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }
.article-page a:focus-visible, .blog-archive a:focus-visible, .blog-section a:focus-visible { outline-color: var(--brand-deep); }
.post-card__visual:focus-visible { outline-offset: -4px; }

/* Sobre: apresentação simples, editável e integrada ao atendimento compartilhado. */
.about-page { background: var(--paper); }
.about-hero { background: var(--surface-brand); color: #fff; }
.about-hero__inner { width: min(100%, var(--max)); margin: 0 auto; padding: 42px clamp(24px, 5vw, 80px) 80px; }
.about-hero .breadcrumbs { color: var(--on-brand-muted); }
.about-hero__grid { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.about-hero__grid--text-only { grid-template-columns: minmax(0, 900px); }
.about-hero__copy { min-width: 0; }
.about-hero .section-label { color: var(--focus-inverse); }
.about-hero h1 { max-width: 720px; margin: 0; font-size: clamp(52px, 6vw, 84px); font-weight: 580; line-height: 1; letter-spacing: -.06em; text-wrap: balance; overflow-wrap: anywhere; }
.about-hero__intro { max-width: 650px; margin: 28px 0 0; color: var(--on-brand-muted); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.55; }
.about-hero__image { width: min(100%, 480px); justify-self: end; margin: 0; overflow: hidden; border: 1px solid var(--line-light); border-radius: 28px; }
.about-hero__image img { display: block; width: 100%; height: auto; }
.about-story { width: min(100% - 48px, 820px); margin: 0 auto; padding: 90px 0; color: var(--ink-2); overflow-wrap: anywhere; }
.about-story > :first-child { margin-top: 0; }
.about-story > :last-child { margin-bottom: 0; }
.about-story p + p { margin-top: 1.6em; }
.nav a[aria-current="page"], .nav .current-menu-item > a { color: var(--brand); }
.nav a[aria-current="page"]::after, .nav .current-menu-item > a::after { transform: scaleX(1); }

/* Landing page do curso */
.course-hero { position: relative; overflow: hidden; background: var(--fapes-course-hero-bg, var(--surface-brand)); color: var(--fapes-hero-on, #fff); }
.course-hero__inner { width: min(100%, var(--max)); margin: 0 auto; padding: 42px clamp(24px, 5vw, 80px) 58px; }
.breadcrumbs { max-width: 100%; color: var(--fapes-hero-muted, var(--on-brand-muted)); font-size: 11px; }
.breadcrumbs ol { margin: 0; padding: 0; display: flex; align-items: center; gap: 9px; list-style: none; }
.breadcrumbs li { min-width: 0; display: flex; align-items: center; gap: 9px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--fapes-hero-line, rgba(255,255,255,.28)); }
.breadcrumbs li:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumbs a:hover { color: var(--fapes-hero-on, #fff); }
.course-hero__content { margin-top: 54px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); align-items: stretch; gap: clamp(44px, 5.6vw, 88px); }
.course-hero__copy { min-width: 0; padding-block: 12px; display: flex; align-items: flex-start; flex-direction: column; }
.course-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.course-hero__tags > span:not(.status-tag) { border: 1px solid var(--fapes-hero-line, rgba(255,255,255,.24)); background: transparent; color: var(--fapes-hero-on, #fff); box-shadow: none; }
.course-hero h1 { max-width: 920px; margin: 24px 0 0; font-size: clamp(43px, 4.05vw, 62px); font-weight: 580; line-height: .95; letter-spacing: -.058em; text-wrap: balance; }
.course-destination { max-width: 780px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--fapes-hero-line, rgba(255,255,255,.17)); }
.course-destination > span { color: var(--fapes-hero-on, var(--focus-inverse)); font: 700 10px/1 "Geist Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.course-destination p { margin: 10px 0 0; color: var(--fapes-hero-muted, var(--on-brand-muted)); font-size: 14px; line-height: 1.58; }
.course-hero__team { margin-top: 24px; display: grid; gap: 11px; }
.course-hero__team-label, .course-hero__team-fallback span { color: var(--fapes-hero-muted, var(--on-brand-muted)); font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.course-hero__team > div { display: flex; flex-wrap: wrap; gap: 9px; }
.course-hero__person { min-height: 48px; padding: 4px 13px 4px 4px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--fapes-hero-line, rgba(255,255,255,.17)); border-radius: 99px; background: var(--fapes-hero-soft, rgba(255,255,255,.055)); }
.course-hero__person strong { font-size: 11px; font-weight: 650; }
.course-hero__avatar { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--brand-light); color: var(--ink); font-size: 10px; font-weight: 750; }
.course-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.course-hero__team-fallback { margin: 24px 0 0; color: var(--fapes-hero-muted, var(--on-brand-muted)); font-size: 12px; }
.course-hero .hero-actions { margin-top: auto; padding-top: 28px; }
.course-hero .hero-actions .button { justify-content: center; gap: 0; text-align: center; }
.course-hero__visual, .course-final-cta__visual { max-width: 530px; align-self: center; }
.course-hero__facts { margin: 34px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--fapes-hero-line, rgba(255,255,255,.17)); }
.course-hero__facts div { min-width: 0; padding: 0 22px; border-right: 1px solid var(--fapes-hero-line, rgba(255,255,255,.14)); }
.course-hero__facts div:first-child { padding-left: 0; }
.course-hero__facts div:last-child { border-right: 0; }
.course-hero__facts dt { display: flex; align-items: center; gap: 9px; color: var(--fapes-hero-muted, var(--on-brand-muted)); font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.course-hero__facts dd { margin: 10px 0 0 37px; font-size: 14px; font-weight: 650; }
.course-fact-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; color: var(--fapes-hero-accent, var(--brand-light)); }
.course-fact-icon .fapes-icon { width: 36px; height: 36px; flex-basis: 36px; border: 0; border-radius: 0; background: transparent; color: inherit; }
.course-fact-icon .fapes-icon svg { width: 29px; height: 29px; }
.course-subnav { position: sticky; z-index: 78; top: 88px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 10px 30px rgba(7,27,51,.06); backdrop-filter: blur(16px); }
.admin-bar .course-subnav { top: 120px; }
.course-subnav__inner { width: min(100%, var(--max)); min-height: 64px; margin: 0 auto; padding: 8px clamp(24px, 5vw, 80px); display: flex; align-items: center; gap: 24px; }
.course-subnav__label { flex: 0 0 auto; color: var(--muted); font: 700 10px/1 "Geist Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.course-subnav__links { min-width: 0; display: flex; align-items: center; gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.course-subnav__links::-webkit-scrollbar { display: none; }
.course-subnav__links a { position: relative; min-height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; color: var(--muted); font-size: 13px; font-weight: 650; white-space: nowrap; }
.course-subnav__links a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.course-subnav__links a:hover, .course-subnav__links a[aria-current] { color: var(--brand-deep); }
.course-subnav__links a:hover::after, .course-subnav__links a[aria-current]::after { transform: scaleX(1); }
.course-subnav__cta { min-height: 44px; margin-left: auto; padding: 0 19px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 20px; border-radius: 99px; background: var(--brand-deep); color: #fff; font-size: 13px; font-weight: 700; }
.course-subnav__cta--enroll { background: var(--enroll); }
.course-detail section[id], #grade-curricular { scroll-margin-top: 170px; }
.admin-bar .course-detail section[id], .admin-bar #grade-curricular { scroll-margin-top: 202px; }
.course-section, .people-section { width: min(100% - 48px, var(--max)); margin: 0 auto; padding: 112px 0 120px; }
.course-section__heading { display: grid; grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr); align-items: start; gap: 40px; }
.course-section__heading h2, .people-section h2 { max-width: 950px; margin: 0; font-size: clamp(48px, 5.2vw, 76px); font-weight: 580; line-height: .98; letter-spacing: -.062em; text-wrap: balance; }
.course-section__heading .section-description { grid-column: 1 / -1; max-width: 720px; margin: 0; color: var(--muted); line-height: 1.65; }
.slider-controls { display: flex; gap: 8px; }
.slider-controls button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 19px; }
.slider-controls button:hover { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }
.slider-controls button:disabled { opacity: .38; cursor: default; }
.slider-controls button:disabled:hover { background: #fff; color: var(--ink); }
.fapes-icon { position: relative; width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border: 1px solid rgba(7,101,181,.16); border-radius: 17px; background: var(--brand-pale); color: var(--brand-deep); }
.fapes-icon svg { width: 27px; height: 27px; }
.course-about { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(54px, 8vw, 124px); }
.course-about__visual { height: clamp(430px, 44vw, 630px); margin: 0; overflow: hidden; border-radius: 26px; background: var(--brand-pale); }
.course-about__visual img { width: 100%; height: 100%; object-fit: cover; }
.course-about__copy { max-width: 760px; }
.course-about__copy h2 { margin: 0; font-size: clamp(50px, 5.6vw, 82px); font-weight: 580; line-height: .97; letter-spacing: -.065em; text-wrap: balance; }
.course-about__description { max-width: 680px; margin: 30px 0 0; color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.7; }
.course-differentials__header { margin-top: 96px; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); }
.course-differentials__header .section-label { margin: 0; }
.feature-slider { margin-top: 30px; padding: 4px 0 16px; overflow-x: auto; display: grid; grid-auto-columns: minmax(310px, calc((100% - 24px) / 2.65)); grid-auto-flow: column; gap: 18px; scroll-snap-type: x mandatory; scrollbar-color: var(--brand) transparent; }
.feature-card { min-height: 330px; padding: 30px; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.feature-card:nth-child(2n) { background: linear-gradient(145deg, #fff, var(--brand-pale)); }
.feature-card:hover { border-color: rgba(7,101,181,.34); box-shadow: 0 24px 65px rgba(9,26,51,.1); transform: translateY(-4px); }
.feature-card .fapes-icon { width: 66px; height: 66px; flex-basis: 66px; border: 0; border-radius: 0; background: transparent; }
.feature-card .fapes-icon svg { width: 46px; height: 46px; }
.feature-card h3 { margin: auto 0 0; font-size: 27px; line-height: 1.05; letter-spacing: -.045em; }
.feature-card p { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.audience-section { padding: 82px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr); align-items: center; gap: clamp(50px, 8vw, 120px); background: var(--brand-pale); }
.audience-section > div:first-child { max-width: 680px; }
.audience-section h2 { margin: 0; font-size: clamp(48px, 5.6vw, 80px); line-height: .97; letter-spacing: -.064em; text-wrap: balance; }
.audience-section__content { position: relative; min-height: 280px; padding: 42px; overflow: hidden; border-radius: 22px; background: var(--surface-brand-deep); color: #fff; }
.audience-section__content > span { position: absolute; top: 18px; right: 22px; color: rgba(157,211,244,.13); font-size: clamp(60px, 8vw, 120px); font-weight: 800; letter-spacing: -.08em; }
.audience-section__content p { position: relative; z-index: 2; max-width: 620px; margin: 0; font-size: clamp(18px, 2vw, 26px); line-height: 1.38; letter-spacing: -.025em; }
.audience-section__content a { position: relative; z-index: 2; min-height: 48px; margin-top: 50px; display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--brand-light); color: var(--brand-light); font-size: 12px; font-weight: 700; }
.course-formats { background: var(--paper); }
.course-formats__header { display: flex; align-items: flex-end; gap: 36px; }
.course-formats__header .course-section__heading { min-width: 0; flex: 1; }
.course-formats__header .slider-controls { flex: 0 0 auto; }
.format-grid { margin-top: 48px; padding: 4px 0 16px; overflow-x: auto; display: grid; grid-auto-columns: minmax(330px, calc((100% - 36px) / 3)); grid-auto-flow: column; gap: 18px; scroll-snap-type: x mandatory; scrollbar-color: var(--brand) transparent; }
.format-card { position: relative; min-width: 0; min-height: 360px; padding: 88px 30px 30px; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: var(--brand-deeper); color: #fff; }
.format-card--featured { background: var(--surface-brand); box-shadow: 0 22px 60px rgba(9,26,51,.16); }
.format-card__icon { position: absolute; top: 12px; left: 28px; width: 68px; height: 68px; display: grid; place-items: center; color: var(--brand-light); }
.format-card .fapes-icon { width: 68px; height: 68px; flex-basis: 68px; border: 0; border-radius: 0; background: transparent; color: inherit; filter: drop-shadow(0 10px 20px rgba(0,0,0,.18)); }
.format-card .fapes-icon svg { width: 52px; height: 52px; }
.format-card h3 { margin: 0; font-size: clamp(27px, 2.5vw, 38px); line-height: 1; letter-spacing: -.05em; }
.format-card p { max-width: 590px; margin: 13px 0 0; color: var(--on-brand-muted); font-size: 14px; line-height: 1.62; }
.format-card__details { margin: auto 0 0; padding-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.format-card__details div { min-width: 0; }
.format-card__details div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.14); }
.format-card__details dt { color: var(--on-brand-subtle); font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.format-card__details dd { margin: 10px 0 0; font-size: 13px; font-weight: 620; line-height: 1.4; }
.course-formats__footer { margin-top: 22px; padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 34px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(120deg, #fff, var(--brand-pale)); }
.course-formats__footer-copy { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(180px, .5fr); align-items: end; gap: 30px; }
.course-formats__footer p { margin: 0; }
.course-formats__course { max-width: 620px; font-size: clamp(20px, 2vw, 29px); font-weight: 650; line-height: 1.08; letter-spacing: -.035em; }
.course-formats__start { display: grid; gap: 6px; }
.course-formats__start span { color: var(--muted); font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.course-formats__start strong { font-size: 18px; }
.course-video { padding: 110px clamp(24px, 6vw, 96px); display: grid; grid-template-columns: minmax(300px, .62fr) minmax(520px, 1.38fr); align-items: center; gap: clamp(50px, 8vw, 120px); background: var(--brand-deeper); color: #fff; }
.course-video__copy h2 { margin: 0; font-size: clamp(44px, 4.5vw, 68px); line-height: .98; letter-spacing: -.06em; }
.course-video__copy > p:last-child { color: var(--on-brand-muted); line-height: 1.7; }
.course-video .section-label { color: var(--focus-inverse); }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16/9; border-radius: 24px; background: #02070d; box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.course-atmosphere { position: relative; height: clamp(500px, 52vw, 760px); margin: 0; overflow: hidden; background: var(--ink); }
.course-atmosphere::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,27,51,.28), transparent 46%); pointer-events: none; }
.course-atmosphere img { width: 100%; height: calc(100% + 100px); max-width: none; object-fit: cover; transform: translateY(calc(var(--parallax-offset, 0px) - 50px)) scale(1.04); will-change: transform; }
.objectives-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 18px; }
.objective-card { min-width: 0; min-height: 300px; padding: 32px; display: flex; flex-direction: column; gap: 46px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.objective-card:nth-child(3n) { background: var(--brand-pale); }
.objective-card--featured { background: var(--surface-brand-deep); color: #fff; }
.objective-card .fapes-icon { width: 66px; height: 66px; flex-basis: 66px; border: 0; border-radius: 0; background: transparent; }
.objective-card .fapes-icon svg { width: 46px; height: 46px; }
.objective-card--featured .fapes-icon { color: var(--brand-light); }
.objectives-grid h3 { margin: auto 0 0; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.03; letter-spacing: -.045em; }
.objectives-grid p { max-width: 600px; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.66; }
.objective-card--featured p { color: var(--on-brand-muted); }
.course-skills { margin-top: 18px; padding: 38px; display: grid; grid-template-columns: minmax(270px, .65fr) minmax(0, 1.35fr); align-items: start; gap: clamp(38px, 7vw, 94px); border-radius: 22px; background: var(--brand-deeper); color: #fff; }
.course-skills .section-label { color: var(--focus-inverse); }
.course-skills h3 { max-width: 480px; margin: 0; font-size: clamp(29px, 3vw, 44px); line-height: 1.03; letter-spacing: -.05em; }
.course-skills ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.course-skills li { min-height: 43px; padding: 10px 15px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.19); border-radius: 99px; background: rgba(255,255,255,.055); color: var(--on-brand-muted); font-size: 12px; font-weight: 620; }
.modules-section { padding: 0; background: var(--brand-pale); }
.modules-section__inner { width: min(100%, var(--max)); margin: 0 auto; padding: 112px clamp(24px, 5vw, 80px) 124px; }
.course-journey { padding-bottom: 0; }
.course-journey:has(+ .modules-layout) { padding-bottom: 96px; border-bottom: 1px solid rgba(7,27,51,.18); }
.course-journey__heading { display: grid; grid-template-columns: minmax(230px, .5fr) minmax(0, 1.5fr); align-items: end; gap: 50px; }
.course-journey__heading .section-label { margin-bottom: 7px; }
.course-journey__heading h2 { max-width: 870px; margin: 0; font-size: clamp(40px, 4.8vw, 70px); font-weight: 580; line-height: .98; letter-spacing: -.06em; text-wrap: balance; }
.course-journey ol { position: relative; margin: 70px 0 0; padding: 0 0 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 24px; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scrollbar-color: var(--brand) transparent; }
.course-journey li { position: relative; z-index: 0; min-width: 0; scroll-snap-align: start; }
.course-journey li::before { content: ""; position: absolute; z-index: -1; top: 27px; left: 28px; width: calc(100% + 24px); height: 1px; background: rgba(7,27,51,.2); }
.course-journey li:last-child::before { display: none; }
.course-journey__icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(7,101,181,.28); border-radius: 50%; background: var(--brand-pale); }
.course-journey__icon .fapes-icon { width: 40px; height: 40px; flex-basis: 40px; border: 0; border-radius: 50%; background: #fff; }
.course-journey__icon .fapes-icon svg { width: 20px; height: 20px; }
.course-journey li h3 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: -.03em; }
.course-journey__icon + h3 { margin-top: 26px; }
.course-journey li p { max-width: 260px; margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.modules-layout { display: grid; grid-template-columns: minmax(245px, .58fr) minmax(400px, 1fr) minmax(220px, .48fr); align-items: start; gap: clamp(32px, 4.6vw, 66px); }
.course-journey + .modules-layout { margin-top: 96px; }
.modules-section__intro { position: sticky; top: 178px; }
.admin-bar .modules-section__intro, .admin-bar .modules-visual { top: 210px; }
.modules-section h2 { margin: 0; font-size: clamp(43px, 4.2vw, 62px); line-height: .98; letter-spacing: -.062em; }
.modules-section__intro > p:not(.section-label) { max-width: 560px; margin: 24px 0 0; color: var(--muted); line-height: 1.68; }
.modules-section__summary { margin-top: 30px; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; border-top: 1px solid rgba(7,27,51,.2); }
.modules-section__summary span, .modules-section__summary strong { font-size: 11px; }
.modules-section__summary span { color: var(--muted); }
.modules-section__intro .button { margin-top: 26px; }
.modules-list { border-top: 1px solid rgba(7,27,51,.24); }
.modules-list details { border-bottom: 1px solid rgba(7,27,51,.24); }
.modules-list summary { min-height: 94px; padding: 22px 0; display: grid; grid-template-columns: 45px 1fr 40px; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.modules-list summary::-webkit-details-marker { display: none; }
.modules-list summary > span { color: var(--brand-deep); font: 750 10px/1 "Geist Mono", monospace; }
.modules-list summary strong { font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.modules-list summary i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 19px; font-style: normal; transition: transform .2s, background .2s; }
.modules-list details[open] summary i { background: var(--brand-deep); color: #fff; transform: rotate(45deg); }
.modules-list details > div { padding: 0 52px 28px 57px; color: var(--muted); font-size: 14px; line-height: 1.72; }
.modules-more { width: 100%; min-height: 56px; margin-top: 20px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--brand-deep); border-radius: 99px; background: transparent; color: var(--brand-deep); font-size: 12px; font-weight: 700; }
.modules-more:hover { background: var(--brand-deep); color: #fff; }
.modules-visual { position: sticky; top: 178px; min-height: 620px; margin: 0; overflow: hidden; border-radius: 24px; background: var(--ink); }
.modules-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,27,51,.9), transparent 52%); pointer-events: none; }
.modules-visual img { width: 100%; height: 620px; object-fit: cover; }
.modules-visual figcaption { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; display: grid; gap: 6px; color: #fff; }
.modules-visual figcaption span { color: var(--on-brand-muted); font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.modules-visual figcaption strong { font-size: 18px; }
.module-cta { margin-top: 24px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 16px; background: var(--brand-deep); color: #fff; }
.module-cta--enroll { background: var(--brand-deep); }
.module-cta p { margin: 0; font-size: 16px; font-weight: 650; }
.module-cta .button { min-width: 156px; min-height: 52px; padding-inline: 28px; flex: 0 0 auto; border-bottom: 0; font-size: 15px; }
.people-section { width: 100%; padding: 112px clamp(24px, 5vw, 80px) 120px; background: #fff; }
.people-section__inner { width: min(100%, var(--max)); margin: 0 auto; }
.people-grid { margin-top: 64px; display: grid; gap: 30px; }
.people-grid--coordinators { grid-template-columns: 1fr; gap: 48px; }
.person-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); color: var(--ink); }
.person-card--coordinator { overflow: visible; display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(34px, 6vw, 90px); border: 0; border-radius: 0; background: transparent; }
.person-card__visual { position: relative; min-height: 520px; display: block; overflow: hidden; background: var(--brand-pale); }
.person-card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-card__visual--initials { display: grid; place-items: center; background: var(--brand-deeper); color: var(--brand-pale); }
.person-card__visual--initials > span { font: 450 clamp(74px, 9vw, 130px)/1 "Geist", sans-serif; letter-spacing: -.07em; }
.person-card--coordinator:nth-child(even) .person-card__visual { order: 2; }
.person-card--coordinator .person-card__visual { border-radius: 30px; box-shadow: 0 24px 70px rgba(7,27,51,.12); }
.person-card__content { min-width: 0; padding: clamp(18px, 2.8vw, 42px) 0; display: flex; flex-direction: column; justify-content: center; }
.person-card__role { margin: 0 0 24px; color: var(--brand-deep); font: 750 10px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.person-card h3 { margin: 0; font-size: clamp(36px, 4vw, 60px); font-weight: 580; line-height: 1; letter-spacing: -.055em; }
.person-card__meta { margin: 16px 0 0; display: block; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.55; }
.person-card__bio { margin-top: 30px; color: var(--muted); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.person-card__bio p { margin: 0 0 1em; }
.person-card__bio p:last-child { margin-bottom: 0; }
.person-card__intro { display: block; margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.person-socials { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.person-socials a { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid rgba(7, 87, 157, .25); border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--brand-deep); transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease; }
.person-socials svg { width: 20px; height: 20px; }
.person-socials a:hover { transform: translateY(-2px); border-color: var(--brand); background: var(--brand-pale); color: var(--brand-deeper); }
.person-socials a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.people-section--faculty { background: var(--brand-deeper); color: #fff; }
.people-section--faculty .section-label { color: var(--focus-inverse); }
.people-section--faculty .section-description { color: var(--on-brand-muted); }
.people-grid--faculty { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: start; gap: 34px 24px; }
.person-card--faculty { overflow: visible; display: block; border: 0; border-radius: 0; background: transparent; color: #fff; }
.person-card__summary { display: flex; align-items: center; flex-direction: column; list-style: none; }
summary.person-card__summary { cursor: pointer; }
.person-card__summary::-webkit-details-marker { display: none; }
.person-card__summary:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 7px; border-radius: 22px; }
.person-card--faculty .person-card__visual { width: clamp(150px, 15vw, 205px); min-height: 0; aspect-ratio: 1 / 1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 24px 55px rgba(0,0,0,.24); }
.person-card--faculty .person-card__visual img { filter: grayscale(.25); transition: filter .25s, transform .4s; }
.person-card--faculty summary:hover .person-card__visual img, .person-card--faculty[open] .person-card__visual img { filter: none; transform: scale(1.025); }
.person-card__identity { min-height: 122px; padding: 24px 8px 18px; display: block; text-align: center; }
.person-card__name { display: block; font-size: clamp(20px, 1.8vw, 27px); font-weight: 620; line-height: 1.08; letter-spacing: -.04em; }
.person-card--faculty .person-card__meta { margin-top: 10px; color: var(--on-brand-muted); font-size: 12px; }
.person-card--faculty .person-card__intro { color: var(--on-brand-muted); }
.person-card__toggle { width: min(100%, 220px); min-height: 48px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.18); color: var(--brand-light); font-size: 11px; font-weight: 700; }
.person-card__toggle i { position: relative; flex: 0 0 30px; width: 30px; height: 30px; display: block; border: 1px solid var(--line); border-radius: 50%; font-size: 0; font-style: normal; line-height: 1; transition: transform .2s, background .2s; }
.person-card__toggle i::before, .person-card__toggle i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.person-card__toggle i::after { transform: translate(-50%, -50%) rotate(90deg); }
.person-card__close-label, .person-card[open] .person-card__open-label { display: none; }
.person-card[open] .person-card__close-label { display: inline; }
.person-card[open] .person-card__toggle i { transform: rotate(45deg); background: rgba(157,211,244,.12); }
.person-card__panel { margin-top: 18px; padding: 22px; border-radius: 18px; background: #fff; color: var(--ink); }
.person-card__panel .person-card__bio { margin-top: 6px; font-size: 13px; line-height: 1.7; }
.person-card__panel .person-socials { gap: 10px; }
.course-final-cta { min-height: 400px; padding: 88px clamp(24px, 5vw, 80px); background: var(--surface-brand-deep); color: #fff; }
.course-final-cta__inner { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); grid-template-areas: "visual copy" "visual action"; align-items: start; column-gap: clamp(36px, 5vw, 80px); row-gap: 34px; }
.course-final-cta__visual { grid-area: visual; justify-self: center; }
.course-final-cta__copy { grid-area: copy; min-width: 0; align-self: end; padding-top: 18px; }
.course-final-cta__action { grid-area: action; width: 100%; max-width: 440px; padding-bottom: 18px; }
.course-final-cta .section-label { color: var(--focus-inverse); }
.course-final-cta h2 { max-width: 800px; margin: 0; font-size: clamp(38px, 4.1vw, 64px); font-weight: 580; line-height: 1.02; letter-spacing: -.058em; text-wrap: balance; }
.course-final-cta__copy > p:not(.section-label) { color: var(--on-brand-muted); line-height: 1.6; }
.course-final-cta__action .button { width: 100%; min-height: 66px; justify-content: space-between; font-size: 14px; }
.course-final-cta__start { margin: 0 0 18px; padding: 17px 19px; display: grid; gap: 7px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.055); }
.course-final-cta__start span { color: var(--brand-light); font: 700 9px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.course-final-cta__start strong { color: #fff; font-size: 18px; }
.course-final-cta__note { max-width: 310px; margin: 16px 0 0; color: var(--on-brand-muted); font-size: 12px; line-height: 1.6; }
.final-cta-people { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 24px 32px; }
.final-cta-person { max-width: 310px; display: flex; align-items: center; gap: 14px; }
.final-cta-person__avatar { width: 64px; height: 64px; flex: 0 0 64px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: var(--brand-light); color: var(--ink); font-size: 15px; font-weight: 650; }
.final-cta-person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-person > div { min-width: 0; display: grid; gap: 6px; }
.final-cta-person > div span { color: var(--on-brand-muted); font: 700 8px/1 "Geist Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.final-cta-person strong { font-size: 13px; line-height: 1.3; }
.course-contact { padding: 108px clamp(24px, 5vw, 80px); background: #fff; border-bottom: 1px solid var(--line); }
.course-contact__inner { width: min(100%, var(--max)); margin: 0 auto; }
.course-contact__heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .5fr); align-items: end; gap: 50px; }
.course-contact h2 { max-width: 680px; margin: 0; font-size: clamp(42px, 4.8vw, 70px); font-weight: 580; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.course-contact__heading > p { max-width: 410px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-channels { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.contact-channel { min-width: 0; min-height: 282px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); transition: border-color .2s, background .2s; }
.contact-channel--whatsapp { border-color: var(--enroll); background: var(--enroll); color: #fff; }
.contact-channel:hover { border-color: var(--brand); background: #fff; }
.contact-channel--whatsapp:hover { border-color: var(--enroll-deep); background: var(--enroll-deep); color: #fff; }
.contact-channel:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 4px; }
.contact-channel__icon { width: 62px; height: 62px; display: grid; place-items: center; color: var(--brand-deep); }
.contact-channel__icon svg { width: 38px; height: 38px; }
.contact-channel > .fapes-icon { width: 62px; height: 62px; flex-basis: 62px; border: 0; border-radius: 0; background: transparent; }
.contact-channel > .fapes-icon svg { width: 40px; height: 40px; }
.contact-channel h3 { margin: 24px 0 8px; font-size: 22px; line-height: 1.2; font-weight: 620; letter-spacing: -.025em; }
.contact-channel:not(.contact-channel--whatsapp):not(:has(> .fapes-icon)) h3 { margin-top: 0; }
.contact-channel > p { max-width: 100%; margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.contact-channel__action { width: 100%; min-height: 28px; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--brand-deep); font-size: 13px; font-weight: 700; }
.contact-channel--whatsapp .contact-channel__icon, .contact-channel--whatsapp > p, .contact-channel--whatsapp .contact-channel__action { color: #fff; }
.contact-channel__action > [aria-hidden] { font-size: 22px; }
.course-contact__details { margin-top: 34px; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 30px 64px; border-top: 1px solid var(--line); }
.course-contact__details > div { min-width: 0; flex: 1 1 300px; display: flex; align-items: flex-start; gap: 18px; }
.course-contact__details .fapes-icon { width: 46px; height: 46px; flex-basis: 46px; border: 0; border-radius: 0; background: transparent; }
.course-contact__details .fapes-icon svg { width: 32px; height: 32px; }
.course-contact__details h3 { margin: 2px 0 7px; font-size: 14px; font-weight: 650; }
.course-contact__details p, .course-contact__details address { margin: 0; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.7; overflow-wrap: anywhere; }
.mobile-course-cta { display: none; }
.mobile-course-cta--enroll { background: var(--enroll); }

/* A landing usa o verde como sinal único para qualquer ação de interesse. */
.course-detail .button--primary,
.course-detail .button--enroll,
.course-detail .course-subnav__cta,
.course-detail .mobile-course-cta {
  background: var(--enroll);
  color: #fff;
  box-shadow: 0 14px 34px rgba(7, 95, 52, .24);
}
.course-detail .button--primary:hover,
.course-detail .button--enroll:hover,
.course-detail .course-subnav__cta:hover,
.course-detail .mobile-course-cta:hover {
  background: var(--enroll-deep);
  color: #fff;
}
.course-detail .mobile-course-cta strong { color: #fff; }

/* Formulário de interesse */
.interest-page { background: #fff; }
.interest-hero { padding: 92px clamp(24px, 6vw, 96px) 74px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .4fr); align-items: end; gap: 80px; background: radial-gradient(circle at 86% 16%, rgba(1,159,230,.3), transparent 30%), var(--surface-brand); color: #fff; }
.interest-hero .section-label { color: var(--focus-inverse); }
.interest-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(54px, 6vw, 90px); line-height: .95; letter-spacing: -.067em; }
.interest-hero h1 em { color: var(--brand-light); }
.interest-hero > div > p:last-child { max-width: 700px; margin: 26px 0 0; color: var(--on-brand-muted); font-size: 16px; line-height: 1.65; }
.interest-hero__note { max-width: 330px; margin: 0; padding: 22px; display: grid; grid-template-columns: 32px 1fr; gap: 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: rgba(255,255,255,.09); color: var(--on-brand-muted); font-size: 12px; line-height: 1.55; }
.interest-hero__note span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-light); color: var(--ink); }
.interest-layout { width: min(100% - 48px, 1280px); margin: 0 auto; padding: 90px 0 120px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .55fr); align-items: start; gap: 70px; }
.interest-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
.field { min-width: 0; display: grid; gap: 9px; }
.field--full, .consent, .form-submit { grid-column: 1 / -1; }
.field > label { font-size: 12px; font-weight: 700; }
.field > label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 54px; padding: 0 15px; border: 1px solid var(--control-border); border-radius: 11px; outline: 0; background: var(--paper); font-size: 14px; transition: border-color .18s, box-shadow .18s; }
.field textarea { min-height: 130px; padding-top: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(7,101,181,.1); }
.field > small { color: var(--muted); font-size: 10px; }
.consent { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 11px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); }
.consent a { color: var(--brand-deep); text-decoration: underline; }
.form-submit { margin-top: 10px; display: flex; align-items: center; gap: 22px; }
.form-submit p { max-width: 390px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.form-honeypot { position: absolute; left: -10000px; }
.interest-summary { position: sticky; top: 130px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.interest-summary > img { width: 100%; aspect-ratio: 1.36/1; object-fit: cover; }
.interest-summary > p, .interest-summary > h2, .interest-summary > dl { margin-right: 25px; margin-left: 25px; }
.interest-summary > .course-area { margin-top: 24px; }
.interest-summary > h2 { margin-top: 0; margin-bottom: 20px; font-size: 28px; line-height: 1.08; letter-spacing: -.045em; }
.interest-summary > p:not(.section-label):not(.course-area) { color: var(--muted); line-height: 1.65; }
.interest-summary > dl { margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.interest-summary dl div { padding: 17px 0; }
.interest-summary dl div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.interest-summary dd { margin: 5px 0 0; font-size: 12px; font-weight: 650; }
.interest-summary__contact { margin-top: 20px; padding: 22px 25px; display: grid; gap: 8px; background: var(--brand-deeper); color: #fff; }
.interest-summary__contact span { color: var(--on-brand-muted); font-size: 10px; }
.interest-summary__contact a { min-height: 36px; display: inline-flex; align-items: center; color: var(--brand-light); font-size: 13px; font-weight: 700; }
.form-feedback { padding: 28px; display: grid; grid-template-columns: 50px 1fr; gap: 18px; border-radius: 18px; }
.form-feedback > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; }
.form-feedback h2 { margin: 0; font-size: 30px; }
.form-feedback p { color: var(--muted); }
.form-feedback a { color: var(--brand-deep); font-weight: 700; }
.form-feedback--success { background: var(--brand-pale); }
.form-feedback--error { display: block; margin-bottom: 24px; border: 1px solid #b34f4f; background: #fff4f4; }

/* Contato: canais oficiais e formulário institucional, sem alterar o funil de cursos. */
.contact-page { background: var(--paper); }
.contact-hero { background: var(--surface-brand); color: #fff; }
.contact-hero__inner { width: min(100%, var(--max)); margin: 0 auto; padding: 42px clamp(24px, 5vw, 80px) 72px; }
.contact-hero .breadcrumbs { color: var(--on-brand-muted); }
.contact-hero .section-label { margin-top: 48px; color: var(--focus-inverse); }
.contact-hero h1 { max-width: 840px; margin: 0; font-size: clamp(48px, 5.6vw, 78px); font-weight: 580; line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; overflow-wrap: anywhere; }
.contact-hero__intro { max-width: 650px; margin: 26px 0 0; color: var(--on-brand-muted); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }
.contact-hero .button { margin-top: 28px; }
.contact-page__layout { width: min(100% - 48px, 1280px); margin: 0 auto; padding: 80px 0 100px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(40px, 6vw, 88px); }
.contact-page__channels, .contact-page__form { min-width: 0; }
.contact-page__layout h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); font-weight: 580; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.contact-whatsapp { margin-top: 28px; padding: 28px; border-radius: 22px; background: var(--brand-deeper); color: #fff; }
.contact-whatsapp h3 { margin: 0; font-size: 22px; font-weight: 580; letter-spacing: -.025em; }
.contact-whatsapp p { margin: 12px 0 22px; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.6; }
.contact-whatsapp .footer-whatsapp { max-width: 100%; flex-wrap: wrap; padding-block: 12px; }
.contact-details { margin: 24px 0 0; padding: 0; list-style: none; }
.contact-details > li { padding: 23px 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 18px; border-bottom: 1px solid var(--line); }
.contact-details > .contact-details__item--no-icon { grid-template-columns: minmax(0, 1fr); }
.contact-details .fapes-icon { width: 44px; height: 44px; border-radius: 14px; }
.contact-details h3 { margin: 0 0 7px; font-size: 12px; font-weight: 700; color: var(--muted); }
.contact-details a { min-height: 36px; display: inline-flex; align-items: center; color: var(--ink); font-size: 16px; font-weight: 550; overflow-wrap: anywhere; }
.contact-details a:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 4px; }
.contact-details address, .contact-details p { margin: 0; font-size: 16px; line-height: 1.65; font-style: normal; overflow-wrap: anywhere; }
.contact-page__editorial { margin-top: 28px; overflow-wrap: anywhere; }
.contact-page__form { padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); border-radius: 26px; background: #fff; scroll-margin-top: 120px; }
.contact-page__form-intro { margin: 18px 0 30px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
.contact-form .field { --line: #748694; }
.contact-form .field > label { font-size: 13px; }
.contact-form .field input, .contact-form .field textarea { font-size: 16px; }
.contact-form .field > small { font-size: 12px; line-height: 1.6; }
.contact-form .consent { font-size: 13px; }
.contact-form .form-submit { align-items: flex-start; flex-direction: column; gap: 14px; }
.contact-form .form-submit p { max-width: 360px; font-size: 12px; line-height: 1.6; }
.contact-form .button { min-width: 220px; min-height: 56px; justify-content: space-between; }
.contact-form .button:hover { background: var(--brand-deep); }
.contact-form .button:disabled { cursor: wait; opacity: .7; transform: none; }
.contact-page .contact-feedback { display: block; margin: 0 0 26px; padding: 24px; }
.contact-feedback h3 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.contact-feedback p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; }
.contact-page :is(a, button, input, textarea):focus-visible, .contact-feedback:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 4px; }
.contact-hero a:focus-visible, .contact-whatsapp a:focus-visible { outline-color: var(--brand-light); }
.contact-form [aria-invalid="true"] { border-color: #a32727; }

/* Responsividade */
@media (max-width: 1280px) {
  .site-header { grid-template-columns: 94px 1fr auto; gap: 16px; }
  .nav { gap: 16px; }
  .nav > a, .nav > li > a, .nav .nav-list > li > a { font-size: 13px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(390px, .72fr); gap: 64px; }
  .hero-image-wrap { height: 550px; }
  .event-card { grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr); }
  .event-card__content { padding: 38px; }
  .person-card__content { padding: 28px 0; }
}

@media (max-width: 1080px) {
  .admin-bar .site-header { top: 32px; }
  .site-header { grid-template-columns: 1fr auto auto; backdrop-filter: none; }
  .site-header > .brand { transition: transform .28s cubic-bezier(.2,.8,.2,1); }
  body.menu-open .site-header > .brand { transform: translateX(calc(100vw - min(440px, 100vw))); }
  .menu-toggle { position: relative; z-index: 102; width: 46px; height: 46px; padding: 11px; display: grid; align-content: center; gap: 4px; border: 2px solid var(--brand-deep); border-radius: 50%; background: var(--brand-deep); color: #fff; box-shadow: 0 8px 20px rgba(5,63,116,.18); transition: background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) var(--ease-standard); }
  .menu-toggle > span { width: 100%; height: 2px; border-radius: 99px; background: currentColor; transition: transform .2s var(--ease-standard), opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] { border-color: var(--brand-dark); background: var(--brand-dark); box-shadow: 0 10px 24px rgba(5,63,116,.26); }
  .menu-toggle:focus-visible { outline-color: var(--brand-deeper); outline-offset: 4px; }
  .menu-toggle:active { transform: scale(.97); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; z-index: 101; top: 0; right: 0; bottom: auto; width: min(440px, 100vw); height: 100dvh; padding: 122px 38px 40px; overflow-y: auto; display: flex; align-items: stretch; justify-content: flex-start; flex-direction: column; gap: 0; background: #fff; box-shadow: -30px 0 80px rgba(9,26,51,.24); transform: translateX(105%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s .28s; }
  .nav-list { display: flex; flex-direction: column; }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav > a, .nav > li > a, .nav .nav-list > li > a { min-height: 58px; padding: 10px 0; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 18px; }
  .nav a[aria-current="page"], .nav .current-menu-item > a, .nav .nav-books { color: var(--brand); }
  .nav a::after { display: none; }
  .nav .nav-student-mobile { margin-top: 24px; padding: 0 18px; display: flex; justify-content: space-between; border: 1px solid var(--brand-deep); border-radius: 99px; background: var(--brand-deep); color: #fff; }
  .nav .nav-student-mobile:hover, .nav .nav-student-mobile:focus-visible { background: var(--brand); color: #fff; }
  .nav .nav-student-mobile::after { display: none; }
  .menu-backdrop { position: fixed; z-index: 99; inset: 0; width: 100vw; height: 100dvh; display: block; background: rgba(2,9,17,.62); backdrop-filter: blur(3px); }
  .hero__inner { padding-top: 76px; padding-bottom: 76px; grid-template-columns: 1fr .76fr; gap: 48px; }
  .hero .hero-title { font-size: clamp(54px, 7vw, 78px); }
  .hero-image-wrap { height: 510px; }
  .credibility { grid-template-columns: repeat(3, 1fr); }
  .credibility p { grid-column: 1 / -1; max-width: none; justify-self: start; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expert-banner { grid-template-columns: 110px 1fr; }
  .expert-banner--image { grid-template-columns: 180px minmax(0, 1fr); }
  .expert-banner--image .expert-visual { grid-row: span 2; }
  .expert-action { grid-column: 2; }
  .event-card { min-height: 350px; grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr); }
  .event-card__visual { min-height: 350px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr .95fr; }
  .post-card:first-child .post-card__visual { aspect-ratio: auto; min-height: 360px; }
  .footer-main { grid-template-columns: 1.2fr .8fr .8fr; }
  .footer-contact { grid-column: 1 / -1; max-width: 520px; }
  .course-hero__content { grid-template-columns: 1fr .78fr; gap: 48px; }
  .course-video { grid-template-columns: 1fr; }
  .modules-layout { grid-template-columns: minmax(0, 1fr) minmax(230px, .48fr); gap: 44px; }
  .modules-section__intro { position: static; grid-column: 1 / -1; max-width: 760px; }
  .modules-visual { min-height: 540px; }
  .modules-visual img { height: 540px; }
  .course-journey__heading { grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr); gap: 36px; }
  .course-video__copy { max-width: 760px; }
  .people-grid--faculty { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .person-card--coordinator { grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr); }
  .course-final-cta__inner { column-gap: 34px; row-gap: 28px; }
  .course-final-cta__action { max-width: none; }
  .interest-layout { gap: 44px; }
}

@media (max-width: 1080px) and (hover: hover) and (pointer: fine) {
  .menu-toggle:hover { border-color: var(--brand); background: var(--brand); box-shadow: 0 10px 24px rgba(5,63,116,.24); transform: translateY(-1px); }
  .menu-toggle[aria-expanded="true"]:hover { border-color: var(--brand-dark); background: var(--brand-dark); }
}

@media (max-width: 960px) {
  .books-banner { min-height: 790px; padding: 68px 28px 42px; grid-template-columns: 1fr; align-content: start; gap: 45px; }
  .book-stack { width: min(100%, 620px); height: 340px; justify-self: center; }
  .newsletter { grid-template-columns: 1fr; gap: 35px; }
  .advanced-filters { grid-template-columns: 1fr 1fr; }
  .filter-group--status { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .contact-hero__inner { padding: 28px 24px 52px; }
  .contact-hero .section-label { margin-top: 36px; }
  .contact-hero h1 { font-size: clamp(42px, 8vw, 64px); }
  .contact-page__layout { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 48px 0 64px; }
  .contact-page__form { border-radius: 22px; }
  :root { --content: min(100% - 36px, var(--max)); }
  .admin-bar .site-header { top: 46px; }
  .admin-bar .nav { padding-top: 166px; }
  .announcement { justify-content: space-between; }
  .announcement p { display: none; }
  .announcement a { margin-left: 0; }
  .site-header { height: 74px; padding-inline: 18px; grid-template-columns: 1fr auto; }
  .brand, .brand img, .brand .custom-logo { width: 76px; height: 56px; }
  .student-area { display: none; }
  .hero { min-height: auto; }
  .hero__inner { min-height: auto; padding: 58px 20px 60px; display: flex; flex-direction: column; align-items: stretch; gap: 56px; }
  .hero-copy { max-width: none; }
  .hero .hero-title { font-size: clamp(52px, 14vw, 76px); }
  .hero-slide .hero__inner { padding-bottom: 104px; }
  .hero-description { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-actions .hero-secondary-link { align-self: flex-start; }
  .hero-facts { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .hero-facts div:last-child { grid-column: 1 / -1; }
  .hero-visual { width: calc(100% - 12px); justify-self: auto; align-self: center; }
  .hero-brand-symbol { display: none; }
  .hero-image-wrap { height: min(122vw, 560px); border-radius: 180px 180px 22px 22px; }
  .hero-sticker { top: -24px; right: -4px; width: 88px; height: 88px; padding: 14px; font-size: 7px; }
  .mec-seal--home { --mec-size: 104px; top: 28px; left: -10px; }
  .mec-seal--detail, .mec-seal--final { --mec-size: 84px; top: 28px; right: auto; left: -10px; padding: calc(var(--mec-size) * .14); }
  .mec-seal--detail .mec-seal__content, .mec-seal--final .mec-seal__content { gap: 4px; }
  .mec-seal--detail strong, .mec-seal--final strong { font-size: calc(var(--mec-size) * .23); }
  .mec-seal--detail small, .mec-seal--final small { font-size: calc(var(--mec-size) * .074); }
  .credibility { padding: 25px 20px; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .credibility div:nth-child(2) { border-right: 0; }
  .credibility div:nth-child(3) { grid-column: 1 / -1; border-right: 0; }
  .credibility p { font-size: 18px; }
  .catalog-section { padding: 78px 16px 84px; }
  .catalog-heading, .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .catalog-heading h2, .section-heading h2, .course-section__heading h2, .people-section h2 { font-size: clamp(44px, 12vw, 62px); }
  .catalog-controls { margin-top: 42px; }
  .program-tabs { grid-template-columns: 1fr 1fr; }
  .program-tab { min-height: 70px; padding-inline: 14px; font-size: 13px; }
  .catalog-tools { display: block; }
  .course-search { width: 100%; }
  .catalog-filter-row { align-items: center; }
  .filter-toggle { width: auto; padding: 0 20px; font-size: 12px; }
  .filter-count { font-size: 10px; }
  .quick-status { overflow: visible; flex-wrap: wrap; padding-bottom: 4px; }
  .quick-status::-webkit-scrollbar { display: none; }
  .quick-status button { flex: 0 0 auto; }
  .advanced-filters { grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 18px; }
  .filter-group--status { grid-column: auto; }
  .advanced-filters label { width: 100%; }
  .clear-filters { margin-left: 0; align-self: flex-start; justify-self: start; }
  .course-grid { grid-template-columns: 1fr; gap: 16px; }
  .catalog-controls + .course-grid { margin-top: 22px; }
  .course-card { border-radius: 20px; }
  .course-card h3 { font-size: 23px; }
  .expert-banner { padding: 58px 20px; grid-template-columns: 1fr; gap: 34px; }
  .expert-banner--image, .expert-banner--image:has(.expert-visual:empty) { grid-template-columns: 1fr; }
  .expert-banner--image .expert-visual { grid-row: auto; width: min(240px, 65vw); }
  .expert-symbol { width: 96px; height: 96px; }
  .expert-copy h2 { font-size: clamp(39px, 10vw, 54px); }
  .expert-action { grid-column: 1; }
  .events-section, .blog-section { padding: 80px 18px 86px; }
  .event-grid { margin-top: 42px; grid-template-columns: 1fr; }
  .event-card { min-height: 0; grid-template-columns: 1fr; }
  .event-card__visual, .event-card__visual--image img { min-height: 250px; }
  .event-card__content { min-height: 330px; padding: 30px; }
  .post-grid { margin-top: 42px !important; grid-template-columns: 1fr; }
  .post-card:first-child { grid-column: auto; display: block; }
  .post-card:first-child .post-card__visual { min-height: 0; aspect-ratio: 1.45/1; }
  .books-banner { min-height: 800px; padding: 68px 20px 42px; grid-template-columns: 1fr; align-content: start; gap: 45px; }
  .books-copy h2 { font-size: clamp(46px, 12vw, 62px); }
  .book-stack { width: 100%; height: 340px; justify-self: center; }
  .book-stack::before { right: 4%; width: 300px; height: 300px; }
  .book { width: 130px; height: 185px; }
  .book--one { top: 78px; left: 48%; }
  .book--two { top: 24px; left: 2%; }
  .book--three { top: 118px; right: 0; }
  .newsletter { padding: 58px 20px; grid-template-columns: 1fr; gap: 35px; }
  .newsletter__action { grid-template-columns: 1fr; }
  .newsletter__action .button { justify-self: stretch; }
  .site-footer { padding: 58px 20px 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 44px 25px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-brand > .brand--compact { width: 152px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .floating-whatsapp { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .floating-whatsapp__toggle { width: 56px; min-height: 56px; padding: 0; justify-content: center; }
  .floating-whatsapp__toggle > span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .policy-notice { padding: 20px; grid-template-columns: 1fr; gap: 18px; border-radius: 18px; }
  .policy-notice__actions, .policy-notice--analytics .policy-notice__actions { width: 100%; min-width: 0; grid-template-columns: 1fr; }
  .archive-hero { min-height: 350px; }
  .archive-hero__inner { padding: 52px 20px 46px; }
  .archive-hero h1 { font-size: clamp(44px, 11.5vw, 62px); }
  .article-hero { width: min(100% - 36px, 1120px); padding-top: 20px; }
  .article-hero__layout--with-cover { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .article-hero h1 { font-size: clamp(32px, 7.6vw, 52px); line-height: 1.1; letter-spacing: -.04em; }
  .article-cover { border-radius: 16px; }
  .article-cover img { max-height: none; }
  .entry-content--article { width: min(100% - 36px, 760px); padding: 36px 0 52px; font-size: 16px; line-height: 1.8; }
  .article-nav { width: min(100% - 36px, 1120px); padding: 24px 0 56px; }
  .article-nav__posts { margin-top: 24px; grid-template-columns: 1fr; gap: 14px; }
  .about-hero__inner { padding: 28px 24px 52px; }
  .about-hero__grid { margin-top: 38px; grid-template-columns: 1fr; gap: 38px; }
  .about-hero h1 { font-size: clamp(44px, 11vw, 68px); }
  .about-hero__intro { margin-top: 22px; font-size: 19px; }
  .about-hero__image { justify-self: center; border-radius: 22px; }
  .about-story { padding: 58px 0; font-size: 16px; }
  .course-hero { min-height: auto; }
  .course-hero__inner { padding: 34px 18px 56px; }
  .course-hero__content { margin-top: 38px; display: flex; flex-direction: column; align-items: stretch; gap: 45px; }
  .course-hero h1 { font-size: clamp(45px, 11.5vw, 64px); }
  .course-hero__copy { padding-block: 0; }
  .course-hero__facts { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .course-hero__facts div, .course-hero__facts div:first-child { padding: 0 16px 0 0; }
  .course-hero__facts div:nth-child(2) { border-right: 0; }
  .course-subnav { top: 74px; }
  .admin-bar .course-subnav { top: 120px; }
  .course-subnav__inner { min-height: 58px; padding: 6px 18px; gap: 14px; }
  .course-subnav__label { display: none; }
  .course-subnav__links { gap: 18px; }
  .course-detail section[id], #grade-curricular { scroll-margin-top: 148px; }
  .admin-bar .course-detail section[id], .admin-bar #grade-curricular { scroll-margin-top: 194px; }
  .course-section { width: min(100% - 36px, var(--max)); padding: 78px 0 84px; }
  .people-section { padding: 78px 18px 84px; }
  .course-section__heading { grid-template-columns: 1fr; gap: 20px; }
  .course-section__heading .section-label { margin-bottom: 0; }
  .course-about { grid-template-columns: 1fr; gap: 38px; }
  .course-about__visual { height: min(96vw, 480px); border-radius: 22px; }
  .course-about__copy h2 { font-size: clamp(44px, 11vw, 64px); }
  .course-about__description { margin-top: 22px; font-size: 16px; }
  .course-differentials__header { margin-top: 56px; padding-top: 24px; gap: 16px; }
  .slider-controls { justify-self: end; }
  .feature-slider { grid-auto-columns: minmax(260px, 84vw); margin-top: 24px; }
  .audience-section { padding: 72px 20px; grid-template-columns: 1fr; gap: 38px; }
  .audience-section h2 { font-size: clamp(46px, 12vw, 68px); }
  .audience-section__content { min-height: 260px; padding: 30px 24px; }
  .course-formats__header { align-items: flex-end; }
  .format-grid { margin-top: 32px; grid-auto-columns: minmax(290px, 82vw); }
  .format-card { min-height: 340px; padding: 88px 26px 28px; gap: 22px; }
  .format-card__details { padding-top: 22px; }
  .format-card__details div:first-child { padding-left: 0; border-left: 0; }
  .course-formats__footer { padding: 26px; align-items: stretch; flex-direction: column; gap: 22px; }
  .course-formats__footer-copy { grid-template-columns: 1fr; gap: 18px; }
  .course-formats__footer .button { justify-content: space-between; }
  .course-video { padding: 74px 18px; grid-template-columns: 1fr; gap: 38px; }
  .course-atmosphere { height: clamp(340px, 65vw, 520px); }
  .course-atmosphere img { height: 100%; transform: none; will-change: auto; }
  .objectives-grid { margin-top: 38px; grid-template-columns: 1fr; gap: 14px; }
  .objective-card, .objective-card:nth-child(n) { min-height: 260px; padding: 28px; grid-column: 1; gap: 40px; }
  .course-skills { padding: 30px; grid-template-columns: 1fr; gap: 28px; }
  .course-skills li { border-radius: 16px; line-height: 1.4; }
  .modules-section__inner { padding: 76px 18px 84px; }
  .course-journey:has(+ .modules-layout) { padding-bottom: 58px; }
  .course-journey__heading { grid-template-columns: 1fr; gap: 18px; }
  .course-journey__heading h2 { font-size: clamp(38px, 10vw, 58px); }
  .course-journey ol { margin-top: 40px; padding-bottom: 0; display: block; overflow: visible; }
  .course-journey li::before { top: 28px; left: 27px; width: 1px; height: calc(100% + 30px); }
  .course-journey li { min-height: 110px; padding-left: 82px; }
  .course-journey li + li { margin-top: 30px; }
  .course-journey__icon { position: absolute; top: 0; left: 0; }
  .course-journey__icon + h3 { margin-top: 0; padding-top: 14px; }
  .course-journey li p { max-width: 560px; font-size: 13px; }
  .modules-layout { grid-template-columns: 1fr; gap: 34px; }
  .course-journey + .modules-layout { margin-top: 58px; }
  .modules-section h2 { font-size: clamp(46px, 12vw, 66px); }
  .modules-section__intro .button { width: 100%; justify-content: space-between; }
  .modules-visual, .admin-bar .modules-visual { position: relative; top: auto; min-height: 0; grid-row: 2; height: 340px; }
  .modules-visual img { height: 340px; }
  .modules-list { grid-row: 3; min-width: 0; }
  .modules-list summary { min-height: 82px; grid-template-columns: 36px 1fr 36px; }
  .modules-list summary strong { font-size: 17px; }
  .modules-list details > div { padding-left: 48px; }
  .module-cta { align-items: flex-start; flex-direction: column; }
  .module-cta .button { width: 100%; }
  .people-grid { margin-top: 42px; }
  .person-card--coordinator { grid-template-columns: 1fr; }
  .person-card--coordinator .person-card__visual { min-height: 0; height: min(108vw, 540px); }
  .person-card--coordinator:nth-child(even) .person-card__visual { order: 0; }
  .person-card__content { padding: 18px 0 0; }
  .course-final-cta { padding: 66px 18px; }
  .course-final-cta__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "visual" "copy" "action"; gap: 34px; }
  .course-final-cta__copy { padding-top: 0; }
  .course-final-cta__action { max-width: none; padding-bottom: 0; }
  .course-final-cta h2 { font-size: clamp(38px, 10vw, 58px); }
  .course-final-cta .button { justify-self: stretch; justify-content: space-between; }
  .course-contact { padding: 76px 18px; }
  .course-contact__heading { grid-template-columns: 1fr; gap: 26px; }
  .course-contact__heading > p { max-width: 540px; }
  .contact-channels { margin-top: 36px; }
  .contact-channel { min-height: 260px; padding: 28px; }
  .course-contact__details { gap: 26px; }
  .mobile-course-cta { position: fixed; z-index: 80; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); left: 12px; min-height: 58px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; background: rgba(6,75,134,.97); color: #fff; box-shadow: 0 18px 55px rgba(9,26,51,.28); backdrop-filter: blur(16px); }
  .mobile-course-cta--enroll { background: rgba(11,122,67,.98); }
  .mobile-course-cta span { color: #fff; font-size: clamp(16px, 4.2vw, 18px); font-weight: 600; line-height: 1.2; }
  .mobile-course-cta strong { color: var(--brand-light); font-size: clamp(15px, 3.8vw, 17px); line-height: 1.2; }
  .mobile-course-cta--enroll strong { color: #fff; }
  .interest-hero { padding: 72px 20px 60px; grid-template-columns: 1fr; gap: 38px; }
  .interest-hero h1 { font-size: clamp(50px, 13vw, 70px); }
  .interest-layout { width: min(100% - 36px, 1280px); padding: 70px 0 90px; grid-template-columns: 1fr; }
  .interest-summary { position: static; }
}

@media (max-width: 560px) {
  .contact-page__layout { width: calc(100% - 36px); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-page__form { padding: 26px 20px; }
  .contact-whatsapp { padding: 24px; }
  .contact-form .button { min-width: 0; width: 100%; }
  .announcement { min-height: 35px; padding-inline: 12px; }
  .announcement > span { font-size: 7px; }
  .announcement a { font-size: 10px; }
  .nav { width: 100vw; padding: 108px 24px 32px; }
  .hero__inner { padding-inline: 16px; }
  .hero-status { margin-bottom: 22px; }
  .hero .hero-title { font-size: clamp(48px, 15vw, 66px); }
  .hero-course-name { font-size: 17px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div:last-child { grid-column: auto; }
  .credibility { grid-template-columns: 1fr; }
  .credibility div, .credibility div:nth-child(2), .credibility div:nth-child(3) { grid-column: auto; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .program-tabs { grid-template-columns: 1fr 1fr; }
  .program-tab { min-height: 68px; }
  .course-card__body { padding: 19px; }
  .course-card__actions { grid-template-columns: 1fr; }
  .card-primary, .card-secondary { justify-content: center; }
  .event-card__visual, .event-card__visual--image img { min-height: 210px; }
  .event-card__visual { padding: 24px; }
  .event-card__visual--image { padding: 0; }
  .event-card__content { min-height: 310px; padding: 26px 22px; }
  .event-card h3 { font-size: 34px; }
  .event-card__meta > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .event-card__meta dd { margin-left: 31px; }
  .books-banner { min-height: 760px; }
  .book-stack { height: 310px; }
  .book { width: 112px; height: 160px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-bottom div { flex-direction: column; gap: 10px; }
  .newsletter__controls { grid-template-columns: 1fr; border-radius: 26px; }
  .newsletter__controls input { min-height: 50px; }
  .article-nav { grid-template-columns: 1fr; }
  .course-hero__facts { grid-template-columns: 1fr; }
  .course-hero__facts div, .course-hero__facts div:first-child { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--fapes-hero-line, rgba(255,255,255,.12)); }
  .course-hero__facts div:last-child { border-bottom: 0; }
  .course-hero__facts dd { margin-left: 45px; }
  .course-subnav__cta { width: 44px; padding: 0; justify-content: center; font-size: 0; }
  .course-subnav__cta span { font-size: 16px; }
  .feature-slider { grid-auto-columns: minmax(250px, 84vw); }
  .feature-card { min-height: 280px; }
  .course-formats__header { align-items: flex-start; flex-direction: column; }
  .format-grid { width: calc(100vw - 18px); grid-auto-columns: minmax(260px, 86vw); }
  .format-card { padding: 88px 22px 24px; gap: 18px; }
  .format-card__details { gap: 16px; }
  .format-card__details dd { overflow-wrap: anywhere; }
  .objective-card, .objective-card:nth-child(n) { padding: 26px 22px; }
  .course-skills { padding: 28px 22px; }
  .modules-list summary { grid-template-columns: 30px 1fr 34px; }
  .modules-list details > div { padding-right: 0; padding-left: 42px; }
  .person-card__content { padding: 25px 22px; }
  .people-grid--faculty { grid-template-columns: 1fr; }
  .person-card--faculty .person-card__visual { width: min(190px, 56vw); }
  .person-card__identity { min-height: 0; }
  .interest-form { grid-template-columns: 1fr; }
  .field--full, .consent, .form-submit { grid-column: auto; }
  .form-submit { align-items: stretch; flex-direction: column; }
  .form-submit .button { width: 100%; justify-content: space-between; }
}

/* Refinamento visual sistêmico: escala contínua, etiquetas, superfícies e movimento. */
.hero .hero-title,
.archive-hero h1,
.about-hero h1,
.interest-hero h1,
.page-heading h1,
.not-found h1 {
  font-size: var(--title-display);
  line-height: 1.01;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.nav > a,
.nav > li > a,
.nav .nav-list > li > a { font-size: 15px; }
.course-subnav__links a { font-size: 15px; }

.course-hero h1,
.article-hero h1,
.contact-hero h1 {
  font-size: var(--title-page);
  line-height: 1.04;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.catalog-heading h2,
.section-heading h2,
.expert-copy h2,
.books-copy h2,
.newsletter h2,
.course-section__heading h2,
.course-about__copy h2,
.audience-section h2,
.course-video__copy h2,
.course-journey__heading h2,
.modules-section h2,
.people-section h2,
.course-final-cta h2,
.course-contact h2 {
  font-size: var(--title-section);
  line-height: 1.04;
  letter-spacing: -.042em;
  overflow-wrap: anywhere;
}

.event-card h3,
.feature-card h3,
.format-card h3,
.objectives-grid h3,
.course-skills h3,
.person-card h3,
.contact-page__layout h2 {
  font-size: var(--title-subsection);
  line-height: 1.08;
  letter-spacing: -.032em;
  overflow-wrap: anywhere;
}

.course-card h3,
.post-card h3,
.post-card h2 {
  font-size: var(--title-card);
  line-height: 1.14;
  letter-spacing: -.028em;
  overflow-wrap: anywhere;
}

.section-label {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--brand-pale);
  color: var(--brand-deeper);
  font: 650 clamp(12px, .82vw, 14px)/1.28 "Geist", Arial, sans-serif;
  letter-spacing: -.01em;
  text-transform: none;
  white-space: normal;
  box-shadow: 0 8px 22px rgba(9, 26, 51, .055);
}
.section-label::before { display: none; }
.archive-hero .section-label,
.about-hero .section-label,
.course-video .section-label,
.course-skills .section-label,
.people-section--faculty .section-label,
.course-final-cta .section-label,
.interest-hero .section-label,
.contact-hero .section-label {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.section-heading--light .section-label {
  background: rgba(255, 255, 255, .68);
  color: var(--ink);
}
.newsletter .section-label { background: rgba(255, 255, 255, .14); color: #fff; }
.audience-section .section-label,
.modules-section .section-label { background: #fff; color: var(--brand-deeper); }

.announcement > span,
.hero-facts dt,
.course-hero__facts dt,
.hero-image-caption span,
.course-area,
.course-facts dt,
.coordinators small,
.interest-summary dt,
.expert-copy > p,
.event-card__visual b,
.event-card__meta dt,
.post-card__body > p,
.footer-links h2,
.footer-contact h2,
.footer-contact__label,
.floating-whatsapp__panel > p,
.article-meta,
.article-nav__posts > a span,
.course-destination > span,
.course-hero__team-label,
.course-hero__team-fallback span,
.course-subnav__label,
.format-card__details dt,
.course-formats__start span,
.modules-list summary > span,
.modules-visual figcaption span,
.person-card__role,
.course-final-cta__start span,
.final-cta-person > div span,
.advanced-filters label,
.program-tab span,
.filter-count {
  font-family: "Geist", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.announcement > span { border: 0; background: rgba(255, 255, 255, .55); font-size: 11px; }
.post-card__visual > span { font-family: "Geist", Arial, sans-serif; letter-spacing: .02em; }
.hero-facts dt,
.course-hero__facts dt,
.course-facts dt,
.coordinators small,
.interest-summary dt,
.event-card__meta dt,
.format-card__details dt,
.course-formats__start span,
.modules-list summary > span,
.course-final-cta__start span { font-size: 12px; line-height: 1.25; font-weight: 650; }
.hero-facts dt { font-size: 14px; line-height: 1.3; }
.hero-facts dd { font-size: 17px; line-height: 1.4; }
.course-area { font-size: 12px; line-height: 1.35; font-weight: 650; }
.course-card .course-area { margin-bottom: 14px; color: var(--brand); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.3; font-weight: 720; letter-spacing: -.01em; }
.footer-links h2,
.footer-contact h2 { font-size: 15px; line-height: 1.3; font-weight: 680; }
.footer-contact__label,
.final-cta-person > div span,
.course-hero__team-label,
.course-hero__team-fallback span { font-size: 12px; line-height: 1.3; font-weight: 650; }
.hero-image-caption span,
.post-card__body > p,
.floating-whatsapp__panel > p,
.article-nav__posts > a span,
.advanced-filters label,
.modules-visual figcaption span { font-size: 12px; line-height: 1.35; font-weight: 650; }
.expert-copy > p,
.person-card__role {
  width: fit-content;
  padding: 7px 11px;
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}
.course-destination > span {
  width: fit-content;
  padding: 7px 11px;
  display: inline-flex;
  border-radius: 999px;
  background: var(--fapes-hero-soft, rgba(255, 255, 255, .14));
  color: var(--fapes-hero-on, #fff);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 650;
}
.person-card__role { background: var(--brand-pale); color: var(--brand-deeper); }

.catalog-section,
.events-section,
.blog-section,
.course-section,
.people-section,
.course-video,
.course-contact,
.modules-section__inner { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.catalog-heading,
.section-heading { gap: clamp(32px, 5vw, 72px); }
.catalog-controls { margin-top: 52px; }
.event-grid,
.post-grid { margin-top: 48px !important; }
.course-section__heading,
.course-journey__heading {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.course-section__heading .section-label,
.course-journey__heading .section-label { margin-bottom: 0; }
.course-section__heading .section-description { grid-column: auto; margin-top: 4px; }
.course-differentials__header { margin-top: clamp(64px, 7vw, 96px); padding-top: 0; border-top: 0; }
.feature-slider,
.format-grid { margin-top: 34px; gap: 20px; }
.objectives-grid,
.people-grid { margin-top: clamp(42px, 5vw, 64px); }
.course-skills { margin-top: 30px; }
.course-journey ol { margin-top: 56px; }
.course-journey + .modules-layout { margin-top: 72px; }
.contact-channels { margin-top: 40px; }
.course-contact { border-bottom: 0; }
.content-page,
.blog-archive { padding-top: var(--section-space); padding-bottom: var(--section-space); }
.not-found { padding-top: var(--section-space); padding-bottom: var(--section-space); }

.events-section { background: linear-gradient(180deg, var(--brand-pale), var(--paper)); }
.blog-section { background: linear-gradient(180deg, var(--brand-pale) 0, #fff 96px, #fff 100%); }
.expert-banner { background: var(--surface-brand-deep); }
.course-media { background: var(--brand-pale); }
.people-section--faculty,
.course-final-cta { background: var(--brand-deeper); }
.credibility { border-bottom: 0; }

.program-tabs { border: 0; }
.program-tab { border: 0; }
.program-tab:hover { background: var(--brand-pale); }
.program-tab.is-active,
.program-tab.is-active:hover { background: var(--brand-deep); color: #fff; }
.advanced-filters { border: 0; box-shadow: var(--shadow-card); }

.course-card,
.event-card,
.post-card,
.feature-card,
.format-card,
.objective-card,
.person-card,
.contact-channel,
.interest-summary,
.contact-page__form,
.article-nav__posts > a,
.course-formats__footer {
  border: 0;
  box-shadow: var(--shadow-card);
}
.course-card { box-shadow: 0 14px 42px rgba(9, 26, 51, .08); }
.course-card:hover { border-color: transparent; box-shadow: var(--shadow-card-hover); }
.course-facts {
  margin-top: 22px;
  padding: 0;
  gap: 24px;
  border-top: 0;
  border-bottom: 0;
}
.course-facts div { padding: 0; }
.course-facts div + div { padding-left: 0; border-left: 0; }
.status-tag.status-tag--matriculas-abertas,
.status-tag.status-tag--em-andamento,
.status-tag.status-tag--lista-de-espera,
.status-tag.status-tag--em-breve,
.status-tag.status-tag--status-a-confirmar { border: 0; }

.course-destination { padding-top: 0; border-top: 0; }
.audience-section__content:not(:has(p)) {
  min-height: 220px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
}
.audience-section__content:not(:has(p)) a { margin-top: 0; }
.course-hero__person { border: 0; background: var(--fapes-hero-soft, rgba(255, 255, 255, .1)); }
.course-hero__facts { padding-top: 0; gap: 10px; border-top: 0; }
.course-hero__facts div,
.course-hero__facts div:first-child,
.course-hero__facts div:last-child {
  padding: 17px 18px;
  border: 0;
  border-radius: 16px;
  background: var(--fapes-hero-soft, rgba(255, 255, 255, .075));
}
.course-hero__facts dd { margin-left: 37px; }
.feature-card,
.objective-card { background: #fff; }
.feature-card:nth-child(2n),
.objective-card:nth-child(3n) { background: linear-gradient(145deg, #fff, var(--brand-pale)); }
.objective-card--featured,
.objective-card--featured:nth-child(3n) {
  background: var(--surface-brand-deep);
  color: #fff;
}
.objective-card--featured p { color: var(--on-brand-muted); }
.format-card { border: 0; box-shadow: 0 18px 48px rgba(9, 26, 51, .16); }
.format-card__details { border-top: 0; }
.format-card__details div + div { padding-left: 0; border-left: 0; }
.course-formats__footer { background: linear-gradient(120deg, #fff, var(--brand-pale)); }
.course-skills li { border: 0; background: rgba(255, 255, 255, .1); }
.course-journey:has(+ .modules-layout) { border-bottom: 0; }
.course-journey__icon { border: 0; box-shadow: 0 10px 28px rgba(9, 26, 51, .09); }
.modules-section__summary { padding-top: 0; border-top: 0; }
.modules-list { display: grid; gap: 10px; border-top: 0; }
.modules-list details {
  overflow: hidden;
  border-bottom: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 28px rgba(9, 26, 51, .055);
}
.modules-list summary { padding-right: 20px; padding-left: 20px; }
.modules-list details > div { padding-right: 24px; padding-left: 77px; }
.modules-list summary i { border: 0; background: var(--brand-pale); }
.person-card--coordinator,
.person-card--faculty { box-shadow: none; }
.person-card--faculty .person-card__visual,
.person-card__toggle,
.person-socials,
.course-final-cta__start,
.final-cta-person__avatar { border: 0; }
.course-final-cta__start { background: rgba(255, 255, 255, .08); }
.contact-channel--whatsapp { border: 0; }
.contact-channel:hover { border-color: transparent; }
.course-contact__details { padding-top: 0; border-top: 0; }
.interest-summary > dl { border-top: 0; }
.interest-summary dl div + div { padding-left: 16px; border-left: 0; }

.button,
.card-primary,
.card-secondary,
.event-card__content > a,
.expert-action > a,
.books-copy > a,
.course-subnav__cta,
.modules-more,
.footer-whatsapp,
.floating-whatsapp__toggle {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}
.card-primary,
.card-secondary,
.event-card__content > a { min-height: 52px; }
.course-subnav__cta { min-height: 48px; }
.event-card__content > a { border: 0; background: var(--brand-deep); color: #fff; }
.card-secondary { border-color: rgba(7, 101, 181, .28); background: transparent; color: var(--brand-deeper); }
.button:active,
.card-primary:active,
.card-secondary:active,
.event-card__content > a:active { transform: translateY(0) scale(.985); }
.button--primary:hover,
.button--dark:hover { background: var(--brand-dark); color: #fff; }
.button--light:hover { background: var(--brand-pale); color: var(--brand-deeper); }

.feature-card,
.course-card,
.event-card,
.post-card,
.format-card,
.objective-card,
.audience-section__content,
.course-skills,
.course-journey li,
.modules-list details,
.module-cta,
.person-card--coordinator .person-card__visual,
.person-card--faculty .person-card__summary,
.course-formats__footer,
.contact-channel,
.course-hero__person,
.course-hero__facts > div,
.course-final-cta__start,
.final-cta-person,
.fapes-icon {
  transition: transform var(--motion-card) var(--ease-standard), box-shadow var(--motion-card) var(--ease-standard), background-color var(--motion-card) ease, color var(--motion-card) ease;
}
.slider-controls button { transition: transform var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) ease, color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.button > span[aria-hidden],
.course-subnav__cta > span[aria-hidden],
.modules-more > span[aria-hidden] { transition: transform var(--motion-fast) var(--ease-standard); }

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .card-primary:hover,
  .card-secondary:hover,
  .event-card__content > a:hover,
  .expert-action > a:hover,
  .books-copy > a:hover,
  .course-subnav__cta:hover,
  .modules-more:hover,
  .footer-whatsapp:hover,
  .floating-whatsapp__toggle:hover { transform: translateY(-2px); }

  .feature-card:hover,
  .course-card:hover,
  .event-card:hover,
  .post-card:hover,
  .format-card:hover,
  .objective-card:hover,
  .audience-section__content:hover,
  .course-skills:hover,
  .modules-list details:hover,
  .module-cta:hover,
  .course-formats__footer:hover,
  .contact-channel:hover,
  .course-hero__person:hover,
  .course-hero__facts > div:hover,
  .course-final-cta__start:hover,
  .final-cta-person:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
  .course-journey li:hover { transform: translateY(-3px); }
  .feature-card:hover .fapes-icon,
  .format-card:hover .fapes-icon,
  .objective-card:hover .fapes-icon,
  .course-skills:hover .fapes-icon,
  .contact-channel:hover .fapes-icon { transform: translateY(-3px) scale(1.035); }
  .person-card--coordinator:hover .person-card__visual { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
  .person-card--faculty summary:hover { transform: translateY(-3px); }
	.slider-controls button:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(9, 26, 51, .1); }
	.button:hover > span[aria-hidden],
	.course-subnav__cta:hover > span[aria-hidden],
	.modules-more:hover > span[aria-hidden] { transform: translateX(3px); }
}

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .card-primary:hover,
  .card-secondary:hover,
  .event-card__content > a:hover,
  .expert-action > a:hover,
  .books-copy > a:hover,
  .course-subnav__cta:hover,
  .modules-more:hover,
  .footer-whatsapp:hover,
  .floating-whatsapp__toggle:hover,
  .feature-card:hover,
  .course-card:hover,
  .event-card:hover,
  .post-card:hover,
  .format-card:hover,
  .objective-card:hover,
  .audience-section__content:hover,
  .course-skills:hover,
  .course-journey li:hover,
  .modules-list details:hover,
  .module-cta:hover,
  .course-formats__footer:hover,
  .contact-channel:hover,
  .course-hero__person:hover,
  .course-hero__facts > div:hover,
  .course-final-cta__start:hover,
  .final-cta-person:hover,
  .person-socials a:hover,
  .person-card--coordinator:hover .person-card__visual,
	.person-card--faculty summary:hover,
	.slider-controls button:not(:disabled):hover,
	.button:hover > span[aria-hidden],
	.course-subnav__cta:hover > span[aria-hidden],
	.modules-more:hover > span[aria-hidden],
  .course-card:hover .course-media img,
  .post-card:hover .post-card__visual img,
  .person-card--faculty summary:hover .person-card__visual img {
    transform: none;
  }
  .book-stack:hover .book--one { transform: rotate(-5deg) translateX(-50%); }
  .book-stack:hover .book--two { transform: rotate(-12deg); }
  .book-stack:hover .book--three { transform: rotate(10deg); }
}

@media (min-width: 1081px) and (max-width: 1280px) {
  .course-video__copy h2 { font-size: clamp(38px, 3.6vw, 46px); overflow-wrap: normal; }
}

@media (max-width: 1024px) {
  :root {
    --title-display: clamp(42px, 5vw, 49px);
    --title-page: clamp(37px, 4.2vw, 43px);
    --title-section: clamp(33px, 4vw, 40px);
    --title-subsection: clamp(27px, 2.9vw, 30px);
    --section-space: clamp(76px, 8vw, 92px);
  }
  .field input,
  .field select,
  .field textarea,
  .newsletter__controls input { font-size: 16px; }
}

@media (max-width: 1080px) {
  .nav > a,
  .nav > li > a,
  .nav .nav-list > li > a { font-size: 18px; }
}

@media (max-width: 840px) {
  .course-subnav__cta {
    width: 44px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .course-subnav__cta span { font-size: 16px; }
  .course-subnav__links a { font-size: 14px; }
}

@media (max-width: 600px) {
  :root {
    --title-display: clamp(36px, 9.2vw, 42px);
    --title-page: clamp(34px, 8.7vw, 37px);
    --title-section: clamp(30px, 8vw, 33px);
    --title-subsection: clamp(25px, 6.7vw, 27px);
    --section-space: clamp(66px, 18vw, 78px);
  }
  .hero .hero-title,
  .archive-hero h1,
  .about-hero h1,
  .interest-hero h1,
  .page-heading h1,
  .not-found h1,
  .course-hero h1,
  .article-hero h1,
  .contact-hero h1,
  .catalog-heading h2,
  .section-heading h2,
  .course-section__heading h2,
  .course-about__copy h2,
  .audience-section h2,
  .course-video__copy h2,
  .course-journey__heading h2,
  .modules-section h2,
  .people-section h2,
  .course-final-cta h2,
  .course-contact h2 { letter-spacing: -.03em; }
  .section-label { padding: 7px 11px; font-size: 12px; }
  .audience-section__content:not(:has(p)) { min-height: 200px; }
  .course-hero__facts { grid-template-columns: 1fr; }
  .course-hero__facts dd { margin-left: 37px; }
  .modules-list summary { padding-right: 14px; padding-left: 14px; }
  .modules-list details > div { padding-right: 18px; padding-left: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .course-atmosphere img { will-change: auto; }

  .button:hover,
  .card-primary:hover,
  .card-secondary:hover,
  .event-card__content > a:hover,
  .feature-card:hover,
  .course-card:hover,
  .event-card:hover,
  .post-card:hover,
  .format-card:hover,
  .objective-card:hover,
  .audience-section__content:hover,
  .course-skills:hover,
  .course-journey li:hover,
  .modules-list details:hover,
  .module-cta:hover,
  .course-formats__footer:hover,
  .contact-channel:hover,
  .course-hero__person:hover,
  .course-hero__facts > div:hover,
  .course-final-cta__start:hover,
  .final-cta-person:hover,
  .person-card--coordinator:hover .person-card__visual,
	.person-card--faculty summary:hover,
	.slider-controls button:not(:disabled):hover,
	.button:hover > span[aria-hidden],
	.course-subnav__cta:hover > span[aria-hidden],
	.modules-more:hover > span[aria-hidden],
  .course-card:hover .course-media img,
  .post-card:hover .post-card__visual img,
  .person-card--faculty summary:hover .person-card__visual img {
    transform: none !important;
  }
  .book-stack:hover .book--one { transform: rotate(-5deg) translateX(-50%) !important; }
  .book-stack:hover .book--two { transform: rotate(-12deg) !important; }
  .book-stack:hover .book--three { transform: rotate(10deg) !important; }
}

/* Revisão de legibilidade 50+/60+ e componentes editoriais relacionados. */
.nav :is(.current-page-ancestor, .current-menu-ancestor, .current_page_parent) > a,
.nav > a[aria-current="true"] { color: var(--brand); }
.nav :is(.current-page-ancestor, .current-menu-ancestor, .current_page_parent) > a::after,
.nav > a[aria-current="true"]::after { transform: scaleX(1); }

.catalog-section--archive { padding-top: clamp(58px, 5vw, 76px); }
.catalog-heading h1 {
  max-width: 950px;
  margin: 0;
  font-size: var(--title-section);
  font-weight: 580;
  line-height: 1.04;
  letter-spacing: -.042em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.catalog-heading--compact h1 { max-width: 760px; }
.catalog-heading h1 em {
  color: var(--brand);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.catalog-active-category {
  margin-top: clamp(16px, 1.8vw, 24px);
  display: block;
  color: var(--brand-deep);
  font-family: "Geist", Arial, sans-serif;
  font-size: clamp(25px, 2.25vw, 36px);
  font-style: normal;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.025em;
}
@media (min-width: 1081px) {
  .nav .nav-list > li.current-menu-item > a,
  .nav .nav-list > li > a[aria-current="page"] { color: var(--brand); font-weight: 650; }
  .nav .nav-list > li.current-menu-item > a::after,
  .nav .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
}
.program-tab {
  justify-content: center;
  font-size: 17px;
  line-height: 1.25;
  text-align: center;
}

.modality-tag--presencial {
  background: var(--brand-light);
  color: var(--ink);
}
.modality-tag--hibrido,
.modality-tag--híbrido {
  background: var(--brand);
  color: #fff;
}
.course-facts dt,
.coordinators small {
  color: var(--brand-deeper);
  font-size: 13px;
  line-height: 1.3;
}
.course-facts dd { font-size: 15px; line-height: 1.45; }
.coordinators p { color: var(--ink-3); font-size: 15px; line-height: 1.45; }
.audience { color: var(--muted); font-size: 15px; line-height: 1.55; }
.course-card__actions:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }

.course-destination p { font-size: 16px; line-height: 1.68; }
.course-hero__team-label,
.course-hero__team-fallback span { font-size: 13px; }
.course-hero__person strong,
.course-hero__team-fallback { font-size: 14px; line-height: 1.45; }
.course-hero__facts dt { font-size: 13px; line-height: 1.3; }
.course-hero__facts dd { font-size: 16px; line-height: 1.45; }
.feature-card p,
.format-card p,
.objectives-grid p,
.course-video__copy > p:last-child,
.modules-section__intro > p:not(.section-label),
.modules-list details > div { font-size: 16px; line-height: 1.7; }
.format-card__details dt,
.course-formats__start span,
.course-final-cta__start span,
.modules-visual figcaption span { font-size: 13px; line-height: 1.3; }
.format-card__details dd { font-size: 15px; line-height: 1.5; }
.course-skills li,
.course-journey li p { font-size: 15px; line-height: 1.6; }
.modules-section__summary span,
.modules-section__summary strong { font-size: 14px; }
.course-final-cta__note { max-width: 380px; font-size: 15px; line-height: 1.65; }

.audience-section__content a {
  min-height: 52px;
  margin-top: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(2, 9, 17, .16);
  font-size: 14px;
}
.audience-section__content a:hover { background: #fff; color: var(--brand-deeper); }

.objectives-section__header,
.related-courses__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.objectives-section__header .course-section__heading { min-width: 0; flex: 1; }
.objectives-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 36px) / 3));
  padding: 4px 0 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--brand) transparent;
}
.objective-card { scroll-snap-align: start; }
.objectives-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
}
.objectives-grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
}

.person-card__meta,
.person-card--faculty .person-card__meta { font-size: 15px; line-height: 1.6; }
.person-card__intro,
.person-card--faculty .person-card__intro { font-size: 16px; line-height: 1.7; }
.person-card__bio,
.person-card__panel .person-card__bio { font-size: 16px; line-height: 1.78; }
.person-card__toggle {
  width: min(100%, 230px);
  min-height: 50px;
  padding: 0 8px 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  color: #fff;
  font-size: 14px;
}
.person-card__toggle i {
  border: 0;
  background: var(--brand-light);
  color: var(--ink);
}
.person-card[open] .person-card__toggle { background: #fff; color: var(--brand-deeper); }

.expert-symbol::before,
.expert-symbol::after { display: none; }
.expert-symbol .fapes-icon {
  width: 96px;
  height: 96px;
  flex-basis: 96px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-light);
  filter: drop-shadow(0 12px 24px rgba(2, 9, 17, .2));
}
.expert-symbol .fapes-icon svg { width: 72px; height: 72px; }

.related-courses {
  position: relative;
  isolation: isolate;
}
.related-courses::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--brand-pale), var(--paper));
}
.related-courses__heading h2 {
  max-width: 940px;
  margin: 0;
  font-size: var(--title-section);
  line-height: 1.04;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.related-courses__viewport {
  width: 100vw;
  margin: clamp(42px, 5vw, 64px) 0 0 calc(50% - 50vw);
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}
.related-courses__track {
  padding: 4px 0 28px;
  overflow-x: auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, calc((100% - 48px) / 3));
  gap: 24px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--brand) transparent;
}
.related-courses__track > .course-card { scroll-snap-align: start; }

/* Os trilhos precisam reservar o alcance do blur para não recortar as sombras dos cards. */
.feature-slider,
.format-grid,
.objectives-grid,
.related-courses__track {
  --card-shadow-gutter-inline: 24px;
  margin-inline: calc(var(--card-shadow-gutter-inline) * -1);
  padding: 24px var(--card-shadow-gutter-inline) 60px;
  scroll-padding-inline: var(--card-shadow-gutter-inline);
}

/* Componentes editoriais se recompõem sem reservar molduras para campos vazios. */
.course-card__badges {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.course-card__badges .mec-seal--card {
  position: relative;
  inset: auto;
  margin-left: auto;
  transform: none;
}
.program-tabs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.advanced-filters { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.course-grid:has(> :only-child) { grid-template-columns: minmax(0, 520px); }
.event-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.post-grid:has(> :only-child) { grid-template-columns: minmax(0, 720px); }
.course-facts:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.course-card--without-media .course-card__body { padding-top: clamp(24px, 4vw, 34px); }
.post-card:first-child:not(:has(.post-card__visual)) { grid-template-columns: minmax(0, 1fr); }
.post-card:not(:has(.post-card__visual)) .post-card__body { height: 100%; display: flex; flex-direction: column; }
.post-card:not(:has(.post-card__visual)) .post-card__link { margin-top: auto; padding-top: 24px; }
.event-card:not(:has(.event-card__visual)) { grid-template-columns: minmax(0, 1fr); }
.event-card--image-only { grid-template-columns: minmax(0, 1fr); }
.event-card--image-only .event-card__visual--image img { min-height: 0; aspect-ratio: 16 / 7; }
.newsletter:not(:has(.newsletter__copy)) { grid-template-columns: minmax(0, 1fr); }
.newsletter:not(:has(.newsletter__copy)) .newsletter__action { width: min(100%, 760px); margin-inline: auto; }
.footer-main { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.footer-contact__item:not(:has(> .fapes-icon)) { grid-template-columns: minmax(0, 1fr); }
.contact-channel > :is(.fapes-icon, .contact-channel__icon) + p { margin-top: 24px; }
.footer-bottom { flex-wrap: wrap; }

/* O detalhe do curso redistribui cada composição quando campos opcionais somem. */
.course-section__heading:has(> :only-child),
.course-about:has(> :only-child),
.course-contact__heading:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.course-about:has(> .course-about__copy:only-child) .course-about__copy { max-width: 960px; }
.feature-slider:has(> :only-child) {
  grid-template-columns: minmax(300px, 680px);
  grid-auto-flow: row;
}
.format-grid:has(> :only-child) {
  grid-template-columns: minmax(330px, 720px);
  grid-auto-flow: row;
}
.related-courses__track:has(> :only-child) {
  grid-template-columns: minmax(300px, min(420px, 100%));
  grid-auto-flow: row;
}
.feature-slider:has(> :nth-child(2):last-child),
.format-grid:has(> :nth-child(2):last-child),
.related-courses__track:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
}
.feature-card--no-icon { min-height: 240px; }
.feature-card--no-icon h3 { margin-top: 0; }
.feature-card--no-icon > p:first-child { margin-top: 0; }
.format-card--no-icon { min-height: 300px; padding-top: 30px; }
.objective-card--no-icon { min-height: 240px; }
.objective-card--no-icon h3 { margin-top: 0; }
.course-skills--list-only { grid-template-columns: minmax(0, 1fr); }
.course-journey__item--no-icon::before { display: none; }
.module-row { min-height: 94px; padding: 22px 0; display: grid; grid-template-columns: 45px minmax(0, 1fr); align-items: center; gap: 12px; border-bottom: 1px solid rgba(7,27,51,.24); }
.module-row > span { color: var(--brand-deep); font: 750 10px/1 "Geist", Arial, sans-serif; }
.module-row > strong { font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.person-card--coordinator.person-card--no-visual { grid-template-columns: minmax(0, 1fr); }
.person-card--coordinator.person-card--no-visual .person-card__content { max-width: 920px; padding-block: 0; }
.person-card--faculty.person-card--no-visual .person-card__identity { min-height: 0; padding-top: 0; }
.course-formats__footer-copy:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.course-subnav__links { flex: 1 1 auto; }
.course-formats__footer--action-only { justify-content: flex-end; }

@media (min-width: 841px) {
  .modules-layout:not(:has(.modules-visual img)) { grid-template-columns: minmax(245px, .58fr) minmax(400px, 1fr); }
  .course-final-cta__inner--without-copy { grid-template-areas: "visual action"; align-items: center; }
  .course-final-cta__inner--action-only { grid-template-columns: minmax(0, 440px); grid-template-areas: "action"; justify-content: center; }
}

@media (min-width: 1081px) {
  .site-header:not(:has(.student-area)) { grid-template-columns: 106px minmax(0, 1fr); }
}

@media (max-width: 1080px) {
  .site-header:not(:has(.student-area)) { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 840px) {
  .announcement p:only-child { display: block; }
  .course-final-cta__inner--without-copy { grid-template-areas: "visual" "action"; }
  .course-final-cta__inner--action-only { grid-template-areas: "action"; }
}
.hero-facts--flexible { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.expert-banner:not(:has(.expert-copy)) { grid-template-columns: 150px minmax(0, 1fr); }
.expert-banner:not(:has(.expert-action)) { grid-template-columns: 150px minmax(0, 1fr); }
.expert-banner:not(:has(.expert-action)) .expert-copy { max-width: 960px; }
@media (min-width: 841px) {
  .expert-banner:not(:has(.expert-symbol)) { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr); }
  .expert-banner:not(:has(.expert-symbol)):not(:has(.expert-copy)),
  .expert-banner:not(:has(.expert-symbol)):not(:has(.expert-action)) { grid-template-columns: minmax(0, 1fr); }
}
.event-card__meta > .event-card__meta-item--value-only dd { margin-left: 0; }
.books-banner:not(:has(.books-copy)) { min-height: 0; grid-template-columns: minmax(0, 1fr); }
.books-banner:not(:has(.books-copy)) .book-stack { width: min(100%, 760px); margin-inline: auto; }
.about-hero__grid--image-only { grid-template-columns: minmax(0, 720px); justify-content: center; }
.interest-hero--copy-only,
.interest-hero--note-only { grid-template-columns: minmax(0, 1fr); }
.interest-hero--note-only .interest-hero__note { justify-self: start; }
.interest-layout--form-only,
.contact-page__layout--form-only { grid-template-columns: minmax(0, 1fr); }
.interest-layout--form-only .interest-form-wrap,
.contact-page__layout--form-only .contact-page__form { width: min(100%, 860px); margin-inline: auto; }
.content-page--empty { min-height: 0; padding-block: 0; }
.hero__inner:not(:has(.hero-copy)) { grid-template-columns: minmax(0, min(100%, 720px)); justify-content: center; }
.course-video:not(:has(.course-video__copy)) { grid-template-columns: minmax(0, min(100%, 1120px)); justify-content: center; }
.course-video:not(:has(.course-video__copy)) .video-frame { width: 100%; justify-self: center; }
.person-card--coordinator.person-card--image-only { grid-template-columns: minmax(0, 720px); justify-content: center; }
.person-card--coordinator.person-card--image-only .person-card__visual { width: 100%; }
.book-stack--count-1 .book,
.book-stack--count-1:hover .book { top: 72px; right: auto; left: 50%; transform: translateX(-50%) rotate(-3deg) !important; }
.book-stack--count-2 .book:first-child,
.book-stack--count-2:hover .book:first-child { top: 54px; right: auto; left: 27%; transform: translateX(-50%) rotate(-8deg) !important; }
.book-stack--count-2 .book:last-child,
.book-stack--count-2:hover .book:last-child { top: 105px; right: 12%; left: auto; transform: rotate(7deg) !important; }

@media (min-width: 1081px) and (max-width: 1360px) {
  .site-header { padding-inline: 24px; gap: 14px; }
  .nav { gap: 12px; }
  .nav > a,
  .nav > li > a,
  .nav .nav-list > li > a { font-size: 15px; }
  .student-area { padding-left: 14px; gap: 10px; font-size: 13px; }
}

@media (max-width: 840px) {
  .program-tab { min-height: 72px; padding-inline: 16px; font-size: 16px; }
  .course-facts dt,
  .coordinators small,
  .course-hero__facts dt { font-size: 13px; }
  .course-facts dd,
  .coordinators p,
  .audience,
  .course-hero__facts dd { font-size: 15px; }
  .objectives-section__header,
  .related-courses__heading { align-items: flex-start; flex-direction: column; gap: 22px; }
  .objectives-grid,
  .objectives-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 84vw);
  }
  .objectives-grid .objective-card { grid-column: auto; }
  .objectives-grid:has(> :only-child) {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
  }
  .related-courses__viewport { padding-inline: 18px; }
  .related-courses__track { grid-auto-columns: minmax(280px, 86vw); gap: 16px; }
	.feature-slider,
	.format-grid,
	.objectives-grid,
	.related-courses__track { --card-shadow-gutter-inline: 16px; }
	.feature-slider:has(> :nth-child(2):last-child),
	.format-grid:has(> :nth-child(2):last-child),
	.related-courses__track:has(> :nth-child(2):last-child) {
	  grid-template-columns: none;
	  grid-auto-flow: column;
	}
	.feature-slider:has(> :only-child),
	.format-grid:has(> :only-child),
	.related-courses__track:has(> :only-child) {
	  grid-template-columns: minmax(0, 1fr);
	  grid-auto-flow: row;
	}
  .expert-symbol .fapes-icon { width: 78px; height: 78px; flex-basis: 78px; }
  .expert-symbol .fapes-icon svg { width: 60px; height: 60px; }
}

@media (max-width: 560px) {
  .program-tab { min-height: 68px; padding-inline: 12px; font-size: 15px; }
  .feature-card p,
  .format-card p,
  .objectives-grid p,
  .modules-list details > div,
  .person-card__intro,
  .person-card__bio,
  .person-card__panel .person-card__bio { font-size: 16px; }
  .related-courses__track { grid-auto-columns: minmax(260px, 88vw); }
}

/*
 * Hero da Home em telas verticais: a foto entra logo depois do nome do curso.
 * `display: contents` preserva a marcação editorial e permite reordenar apenas
 * a apresentação mobile, sem duplicar a imagem ou alterar desktop/tablet horizontal.
 */
@media (max-width: 840px) and (orientation: portrait) {
  .hero-slide .hero__inner {
    padding: clamp(18px, 2.8dvh, 28px) 18px 72px;
    gap: 0;
  }
  .hero-slide .hero-copy { display: contents; }
  .hero-slide .hero-status {
    order: 1;
    margin: 0 0 10px;
  }
  .hero-slide .hero-title { order: 2; }
  .hero-slide .hero-course-name {
    order: 3;
    margin: 12px 0 0;
    font-size: clamp(16px, 4.4vw, 19px);
    line-height: 1.24;
  }
  .hero-slide .hero-visual--home {
    order: 4;
    width: min(100% - 12px, 360px);
    margin: 14px auto 0;
  }
  .hero-slide .hero-visual--home .hero-image-wrap {
    height: clamp(170px, 26dvh, 230px);
    border-radius: 96px 96px 18px 18px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
  }
  .hero-slide .hero-visual--home .hero-image {
    object-position: center 28%;
    transform: none;
  }
  .hero-slide .hero-visual--home .hero-image-caption {
    right: 16px;
    bottom: 12px;
    left: 16px;
    gap: 2px;
  }
  .hero-slide .hero-visual--home .hero-image-caption span { font-size: 10px; }
  .hero-slide .hero-visual--home .hero-image-caption strong {
    font-size: 13px;
    line-height: 1.2;
  }
  .hero-slide .hero-visual--home .mec-seal--home {
    --mec-size: 72px;
    top: 12px;
    left: -6px;
    padding: calc(var(--mec-size) * .14);
  }
  .hero-slide .hero-visual--home .mec-seal--home .mec-seal__content { gap: 3px; }
  .hero-slide .hero-visual--home .mec-seal--home strong { font-size: calc(var(--mec-size) * .23); }
  .hero-slide .hero-visual--home .mec-seal--home small { font-size: calc(var(--mec-size) * .074); }
  .hero-slide .hero-visual--home .hero-sticker {
    top: -9px;
    right: -3px;
    width: 62px;
    height: 62px;
    padding: 9px;
    border-radius: 10px;
    font-size: 5.5px;
  }
  .hero-slide .hero-visual--home .hero-sticker span {
    margin-top: 2px;
    font-size: 10px;
  }
  .hero-slide .hero-description {
    order: 5;
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.42;
  }
  .hero-slide .hero-actions {
    order: 6;
    margin-top: 12px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px 12px;
  }
  .hero-slide .hero-actions .button {
    width: auto;
    min-width: min(190px, 100%);
    min-height: 44px;
    padding-inline: 20px;
    flex: 1 1 190px;
  }
  .hero-slide .hero-actions .hero-secondary-link {
    min-height: 44px;
    padding-inline: 0;
    flex: 0 1 auto;
  }
  .hero-slide .hero-facts {
    order: 7;
    margin: 12px 0 0;
    padding-top: 11px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .hero-slide .hero-facts div,
  .hero-slide .hero-facts div:last-child { grid-column: auto; }
  .hero-slide .hero-facts dt {
    font-size: 11px;
    line-height: 1.2;
  }
  .hero-slide .hero-facts dd {
    font-size: 13px;
    line-height: 1.3;
  }
  .hero-carousel__controls {
    bottom: 12px;
    min-height: 44px;
  }
  .hero-carousel__controls button {
    width: 44px;
    height: 44px;
  }
  .hero-carousel__dots button {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) and (max-height: 740px) and (orientation: portrait) {
  .hero-slide .hero__inner { padding-top: 14px; padding-bottom: 60px; }
  .hero-slide .hero-status { margin-bottom: 7px; }
  .hero-slide .hero-title { font-size: clamp(32px, 9.4vw, 38px); }
  .hero-slide .hero-course-name {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.18;
  }
  .hero-slide .hero-visual--home { margin-top: 10px; }
  .hero-slide .hero-visual--home .hero-image-wrap { height: clamp(132px, 22dvh, 160px); }
  .hero-slide .hero-description {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.32;
  }
  .hero-slide .hero-actions { margin-top: 9px; }
  .hero-slide .hero-actions .button,
  .hero-slide .hero-actions .hero-secondary-link { min-height: 44px; }
  .hero-slide .hero-facts {
    margin-top: 8px;
    padding-top: 8px;
  }
  .hero-slide .hero-facts dt { font-size: 10px; }
  .hero-slide .hero-facts dd { font-size: 12px; }
  .hero-slide .hero-visual--home .hero-sticker { display: none; }
  .hero-carousel__controls { bottom: 8px; }
}

@media (max-width: 360px) and (max-height: 680px) and (orientation: portrait) {
  .hero-slide .hero__inner { padding-bottom: 52px; }
  .hero-slide .hero-title { font-size: 31px; }
  .hero-slide .hero-course-name { font-size: 14px; }
  .hero-slide .hero-visual--home {
    width: min(100% - 8px, 310px);
    margin-top: 8px;
  }
  .hero-slide .hero-visual--home .hero-image-wrap { height: clamp(112px, 19dvh, 125px); }
  .hero-slide .hero-visual--home .mec-seal--home { --mec-size: 64px; }
  .hero-slide .hero-description {
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.27;
  }
  .hero-slide .hero-actions {
    margin-top: 7px;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hero-slide .hero-actions .button {
    min-width: 0;
    padding-inline: 14px;
    flex: 1 1 auto;
  }
  .hero-slide .hero-actions .hero-secondary-link {
    flex: 0 0 auto;
    font-size: 12px;
    white-space: nowrap;
  }
  .hero-slide .hero-facts {
    margin-top: 6px;
    padding-top: 6px;
    gap: 6px;
  }
  .hero-slide .hero-facts dt { font-size: 9.5px; }
  .hero-slide .hero-facts dd { font-size: 11px; }
  .hero-carousel__controls { bottom: 4px; }
}

@media (max-width: 340px) and (max-height: 600px) and (orientation: portrait) {
  .floating-whatsapp {
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
  }
  .floating-whatsapp__toggle {
    width: 44px;
    min-height: 44px;
  }
}
