/* =========================================================
   Pos-Graduacao em TDAH e Neurociencia | Anhanguera
   Design system: dois tons solidos (grafite-petroleo + off-white)
   + laranja Anhanguera #F94D12. Zero gradiente, zero emoji, zero travessao.
   Display: Bricolage Grotesque | Texto: IBM Plex Sans
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolagegrotesque.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibmplexsans.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12222b;
  --ink-2: #183039;
  --ink-3: #0d1a21;
  --paper: #f3f4f2;
  --paper-2: #ffffff;
  --brand: #f94d12;
  --brand-deep: #d63f0c;

  --text: #12222b;
  --text-muted: #4b5760;
  --text-invert: #eef1f0;
  --text-invert-muted: #a9b4ba;

  --line: #e3e4e0;
  --line-strong: #d3d5cf;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-dark-strong: rgba(255, 255, 255, 0.2);

  --font-display: "Bricolage Grotesque", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  --shadow-card: 0 1px 2px rgba(18, 34, 43, 0.04), 0 10px 30px rgba(18, 34, 43, 0.06);
  --shadow-pop: 0 18px 50px rgba(18, 34, 43, 0.16);
  --shadow-cta: 0 12px 30px rgba(249, 77, 18, 0.28);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- section frame ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--ink { background: var(--ink); color: var(--text-invert); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--text-invert); }
.section--ink-2 { background: var(--ink-2); color: var(--text-invert); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  display: inline-block;
}
.section-head { max-width: 62ch; }
.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 800;
}
.section-head .lede {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 60ch;
}
.section--ink .lede { color: var(--text-invert-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn .ico { width: 20px; height: 20px; }
.btn-primary {
  background: var(--brand);
  color: var(--ink); /* ink on orange = 4.76:1 AA */
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(249, 77, 18, 0.36); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost-light {
  background: transparent;
  color: var(--text-invert);
  border-color: var(--line-dark-strong);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.4); }
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost-dark:hover { background: rgba(18, 34, 43, 0.05); border-color: var(--ink); }
.btn-sm { padding: 0.7rem 1.15rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 244, 242, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(18, 34, 43, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__brand img { height: 26px; width: auto; }
.nav__brand .divider { width: 1px; height: 26px; background: var(--line-strong); }
.nav__brand .kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.1;
}
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--text-invert); position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.25rem, 7vw, 5.5rem);
}
.hero__eyebrow { color: var(--brand); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--brand); }
.hero__sub {
  margin-top: 1.4rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-invert-muted);
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

/* hero credential panel (selo Anhanguera + fatos) */
.credential {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.credential__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-dark);
}
.credential__seal {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--brand);
  display: grid; place-items: center;
}
.credential__seal img { width: 30px; height: auto; }
.credential__top .t-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-invert-muted); }
.credential__top .t-value { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; }
.credential__logo { margin-left: auto; height: 22px; width: auto; opacity: 0.9; }
.credential__list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.credential__list li { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; color: var(--text-invert); }
.credential__list .ico { width: 22px; height: 22px; color: var(--brand); flex: none; }
.credential__note {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
  color: var(--text-invert-muted);
  line-height: 1.5;
}

/* ---------- stat band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.stat { background: var(--ink); padding: 1.6rem 1.4rem; }
.section--ink-2 .stat { background: var(--ink-2); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__label { margin-top: 0.5rem; font-size: 0.98rem; color: var(--text-invert-muted); }

/* ---------- context / demand ---------- */
.context__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.context__body p + p { margin-top: 1.1rem; }
.context__body p { color: var(--text-muted); font-size: 1.1rem; }
.pullstats { display: grid; gap: 1rem; }
.pullstat {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.pullstat__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.pullstat__num span { color: var(--brand); }
.pullstat__label { margin-top: 0.45rem; color: var(--text-muted); font-size: 0.98rem; }

/* ---------- feature columns (o que e a pos) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.feature { }
.feature__ico {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: rgba(249, 77, 18, 0.12);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.feature__ico .ico { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; font-weight: 700; }
.feature p { margin-top: 0.55rem; color: var(--text-invert-muted); font-size: 1rem; }
.section--paper .feature p { color: var(--text-muted); }

/* ---------- audience ---------- */
.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.aud-group {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-card);
}
.aud-group__head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.1rem; }
.aud-group__ico { width: 44px; height: 44px; border-radius: 11px; background: var(--ink); color: var(--brand); display: grid; place-items: center; flex: none; }
.aud-group__ico .ico { width: 24px; height: 24px; }
.aud-group h3 { font-size: 1.15rem; }
.aud-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.aud-list li {
  font-size: 0.92rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.9rem;
}

/* ---------- grade / disciplinas ---------- */
.grade__lead {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.grade__meta { display: flex; gap: 2rem; flex-wrap: wrap; }
.grade__meta .m-num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--brand); line-height: 1; }
.grade__meta .m-label { font-size: 0.9rem; color: var(--text-invert-muted); }
.disciplines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
}
.disc {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.disc:hover { transform: translateY(-3px); border-color: var(--line-dark-strong); }
.disc__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.disc__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand);
  letter-spacing: 0.02em;
}
.disc__hours {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-invert);
  background: rgba(249, 77, 18, 0.16);
  border: 1px solid rgba(249, 77, 18, 0.3);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.disc h3 { font-size: 1.28rem; color: #fff; }
.disc p { margin-top: 0.7rem; color: var(--text-invert-muted); font-size: 0.98rem; line-height: 1.6; }
.disc__topics { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.disc__topics li {
  font-size: 0.82rem;
  color: var(--text-invert);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.75rem;
}
.disc--intro { background: var(--ink); border-style: dashed; }
.grade__note {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--text-invert-muted);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}
.grade__note .ico { color: var(--brand); flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* ---------- corpo docente ---------- */
.faculty {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.1rem, 2.2vw, 1.6rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.prof {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.prof:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.prof__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-2);
}
.prof__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prof__photo .photo-color { opacity: 0; transition: opacity 0.5s var(--ease); }
.prof:hover .photo-color,
.prof.show-color .photo-color { opacity: 1; }
.prof__coord {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--brand);
  padding: 0.3rem 0.65rem; border-radius: var(--radius-pill);
}
.prof__body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prof__body h3 { font-size: 1.2rem; }
.prof__role { margin-top: 0.3rem; font-size: 0.9rem; font-weight: 600; color: var(--brand); }
.prof__bio { margin-top: 0.75rem; font-size: 0.93rem; color: var(--text-muted); line-height: 1.55; }
.prof__disc {
  margin-top: auto; padding-top: 1rem;
  font-size: 0.83rem; color: var(--text-muted);
  border-top: 1px solid var(--line);
  display: flex; gap: 0.5rem; align-items: flex-start;
}
.prof__disc .ico { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }

/* ---------- certificacao ---------- */
.cert__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cert-card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
}
.cert-card__seal {
  width: 84px; height: 84px; margin: 0 auto 1.3rem;
  border-radius: 20px; background: var(--brand);
  display: grid; place-items: center;
}
.cert-card__seal img { width: 48px; height: auto; }
.cert-card h3 { color: #fff; font-size: 1.35rem; }
.cert-card p { margin-top: 0.7rem; color: var(--text-invert-muted); font-size: 0.98rem; }
.cert-card__logo { margin-top: 1.5rem; height: 26px; width: auto; display: inline-block; }
.cert-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.cert-list li { display: flex; gap: 1rem; align-items: flex-start; }
.cert-list .ico { width: 26px; height: 26px; color: var(--brand); flex: none; margin-top: 3px; }
.cert-list h4 { font-size: 1.1rem; color: #fff; margin-bottom: 0.25rem; }
.cert-list p { color: var(--text-invert-muted); font-size: 0.98rem; }

/* ---------- diferenciais ---------- */
.diffs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.diff {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.diff:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.diff__ico { width: 50px; height: 50px; border-radius: 12px; background: var(--ink); color: var(--brand); display: grid; place-items: center; margin-bottom: 1.05rem; }
.diff__ico .ico { width: 26px; height: 26px; }
.diff h3 { font-size: 1.18rem; }
.diff p { margin-top: 0.55rem; color: var(--text-muted); font-size: 0.98rem; line-height: 1.6; }

/* ---------- investimento ---------- */
.price__grid { display: grid; grid-template-columns: 1fr; justify-items: center; }
.price-card {
  width: 100%;
  max-width: 640px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-pop);
}
.price-card__badge {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); border: 1px solid rgba(249,77,18,0.4);
  border-radius: var(--radius-pill); padding: 0.35rem 0.9rem; margin-bottom: 1.4rem;
}
.price-card__x { font-size: 1.05rem; color: var(--text-invert-muted); }
.price-card__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.6rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0.3rem 0;
}
.price-card__value .cents { font-size: 0.5em; vertical-align: super; }
.price-card__total { font-size: 0.98rem; color: var(--text-invert-muted); margin-top: 0.5rem; }
.price-card__divider { height: 1px; background: var(--line-dark); margin: 1.8rem 0; }
.price-card__incl { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.85rem; text-align: left; }
.price-card__incl li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--text-invert); font-size: 1rem; }
.price-card__incl .ico { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.price-card .btn { font-size: 1.15rem; padding: 1.1rem 2rem; }
.price-card__fine { margin-top: 1.1rem; font-size: 0.85rem; color: var(--text-invert-muted); }

/* ---------- faq ---------- */
.faq { max-width: 800px; margin-inline: auto; margin-top: clamp(2rem, 4vw, 3rem); }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--brand); flex: none; transition: transform 0.3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq .faq__a { padding: 0 1.4rem 1.35rem; color: var(--text-muted); font-size: 1rem; line-height: 1.65; }

/* ---------- cta final ---------- */
.cta-final { text-align: center; }
.cta-final .container { max-width: 820px; }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
.cta-final p { margin-top: 1.1rem; color: var(--text-invert-muted); font-size: 1.2rem; }
.cta-final .hero__actions { justify-content: center; }
.cta-final__seal { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 2.2rem; color: var(--text-invert-muted); font-size: 0.9rem; }
.cta-final__seal img { height: 24px; width: auto; }

/* ---------- footer ---------- */
.footer { background: var(--ink-3); color: var(--text-invert-muted); padding-block: clamp(2.5rem, 5vw, 3.5rem); font-size: 0.92rem; }
.footer__top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.footer__brand img { height: 28px; width: auto; margin-bottom: 0.9rem; }
.footer__brand p { max-width: 42ch; line-height: 1.6; }
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer__col h4 { color: var(--text-invert); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; font-family: var(--font-body); }
.footer__col a { display: block; color: var(--text-invert-muted); margin-bottom: 0.6rem; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--text-invert); }
.footer__legal {
  margin-top: 2.5rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; line-height: 1.6;
}
.footer__legal .disclaimer { max-width: 78ch; color: var(--text-invert-muted); }

/* ---------- reveal animation (progressive enhancement) ----------
   Conteudo visivel por padrao. So esconde quando o JS marca <html class="js">,
   garantindo que a pagina nunca fica em branco se o JS falhar. */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-stagger] > * { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(18px); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js [data-stagger].in > *:nth-child(2) { transition-delay: 0.07s; }
.js [data-stagger].in > *:nth-child(3) { transition-delay: 0.14s; }
.js [data-stagger].in > *:nth-child(4) { transition-delay: 0.21s; }
.js [data-stagger].in > *:nth-child(5) { transition-delay: 0.28s; }
.js [data-stagger].in > *:nth-child(6) { transition-delay: 0.35s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .credential { max-width: 520px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .audience__grid { grid-template-columns: 1fr; }
  .faculty { grid-template-columns: repeat(2, 1fr); }
  .diffs { grid-template-columns: repeat(2, 1fr); }
  .cert__grid { grid-template-columns: 1fr; }
  .context__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .disciplines { grid-template-columns: 1fr; }
  .grade__lead { grid-template-columns: 1fr; align-items: start; }
  .footer__top { flex-direction: column; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .faculty { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .nav__brand .kicker { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; }
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .disc, .prof, .diff { transition: none !important; }
}
