@font-face {
  font-family: Space;
  src: url("/static/fonts/space-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/static/fonts/space-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Space;
  src: url("/static/fonts/space-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #20211f;
  --paper: #faf9f3;
  --lime: #c5f168;
  --lilac: #cbb9f4;
  --peach: #ffc8ae;
  --muted: #696b61;
  --border: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  font-family: Space, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
/* Everything reads one notch larger on wide screens, as if the browser sat at 110%.
   Phones already fill the width, so there the zoom only made things huge. */
@media (min-width: 900px) {
  body {
    zoom: var(--ui-zoom, 1.1);
  }
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #704ab5;
  outline-offset: 4px;
}
p {
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
::selection {
  background: var(--lilac);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.section-wrap {
  max-width: 1280px;
  margin: auto;
  padding-left: 56px;
  padding-right: 56px;
}
.site-header {
  height: 102px;
  max-width: 1440px;
  margin: auto;
  padding: 0 56px;
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 49px;
  height: 49px;
  background: var(--lime);
  border: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 29px;
  letter-spacing: -4px;
  transform: rotate(-7deg);
  box-shadow: 2px 2px 0 var(--ink);
  padding-right: 4px;
}
.brand-mark span {
  font-size: 22px;
  padding-top: 8px;
}
.brand-name {
  font-size: 22px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -1.1px;
}
.brand-dot {
  color: #6c458f;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 33px;
  font-size: 13px;
  font-weight: 600;
}
.site-header nav > a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 17px 22px;
  border: var(--border);
  background: white;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  text-align: center;
}
.button:hover:not(:disabled) {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}
.button:active:not(:disabled) {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--ink);
}
.button span[aria-hidden] {
  font-size: 24px;
  line-height: 0.8;
}
.button.primary {
  background: var(--lime);
}
.button.small {
  padding: 12px 18px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
}
.button.wide {
  width: 100%;
  justify-content: space-between;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 74px;
  padding-top: 68px;
  padding-bottom: 68px;
  align-items: start;
}
.eyebrow,
.mono,
.section-index,
.tag,
.subject-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: var(--ink);
  border-radius: 50%;
}
.eyebrow .live-dot {
  background: #80ae38;
  box-shadow: 0 0 0 4px #c5f16855;
}
h1 {
  font-size: clamp(52px, 5.8vw, 78px);
  letter-spacing: -4px;
  line-height: 1.045;
  font-weight: 700;
  margin-bottom: 25px;
}
.headline-highlight {
  position: relative;
  display: inline;
  background: var(--lime);
  box-shadow:
    9px 0 0 var(--lime),
    -3px 0 0 var(--lime);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.outline-star {
  font-size: 66px;
  position: absolute;
  bottom: 6px;
  right: -124px;
  line-height: 1;
  font-weight: 400;
  transform: rotate(-13deg);
  color: var(--lilac);
  -webkit-text-stroke: 2px var(--ink);
}
.heading-dot {
  position: relative;
  margin-left: 6px;
}
.hero-description {
  font-size: 14px;
  color: #53564e;
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-description strong {
  color: var(--ink);
}
.hero-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.tag {
  border: 1.5px solid var(--ink);
  padding: 7px 9px;
  font-size: 8px;
  letter-spacing: 0.6px;
}
.lilac {
  background: var(--lilac);
}
.white {
  background: #fff;
}
.lime {
  background: var(--lime);
}
.peach {
  background: var(--peach);
}
.event-details {
  display: flex;
  border-top: 1px solid #cecec5;
  padding-top: 22px;
  gap: 28px;
}
.event-details > div {
  display: flex;
  gap: 10px;
}
.event-details > div > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.detail-icon {
  width: 31px;
  height: 33px;
  border: 1.5px solid var(--ink);
  font-size: 23px;
  display: grid;
  place-items: center;
  background: white;
}
.event-details small {
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 700;
}
.event-details strong {
  font-size: 12px;
}
.event-details span span {
  font-size: 10px;
  color: var(--muted);
}
.hero-signoff {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 24px;
}
.hand-arrow {
  font-family: Arial, sans-serif;
  font-size: 57px;
  line-height: 0.8;
  transform: rotate(-15deg);
}
.hero-signoff strong {
  font-weight: 500;
}
.form-column {
  position: relative;
  padding-top: 12px;
  scroll-margin-top: 30px;
}
.registration-card {
  position: relative;
  background: white;
  border: var(--border);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 28px 30px 20px;
  z-index: 1;
}
.form-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.form-topline .mono {
  font-size: 9px;
  letter-spacing: 1.1px;
}
.form-topline > span:last-child {
  font-size: 23px;
}
.registration-card h2 {
  font-size: 30px;
  letter-spacing: -1.3px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.registration-card h2 > span {
  color: #8bb83e;
}
.form-intro {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.form-sticker {
  position: absolute;
  right: -19px;
  top: -22px;
  z-index: 2;
  background: var(--lilac);
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 9px 12px;
  transform: rotate(9deg);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.form-sticker span {
  position: absolute;
  font-size: 29px;
  bottom: 4px;
  right: -2px;
}
.availability {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #eff7e5;
  border: 1px solid #d8e5c8;
  padding: 10px 12px;
  font-size: 10px;
  margin-bottom: 19px;
}
.availability.waitlist {
  background: #eee6ff;
  border-color: var(--lilac);
}
.availability.closed {
  background: #f6ece6;
}
.availability .live-dot {
  width: 6px;
  height: 6px;
  background: #5f7e2d;
}
.registration-card > label:not(.check-label) {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin: 15px 0 7px;
}
.registration-card > label > span {
  color: #666960;
}
input:not([type="checkbox"]):not([type="radio"]),
select {
  width: 100%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  border-radius: 0;
  padding: 12px 13px;
  font-size: 12px;
  height: 43px;
  color: var(--ink);
}
input::placeholder {
  color: #909087;
}
input[aria-invalid="true"] {
  border-color: #a31e31;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
}
legend {
  font-size: 11px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 9px;
}
.unit-picker {
  margin-top: 17px;
}
.unit-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.unit-option {
  border: 1.5px solid #c7c8bf;
  padding: 9px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  cursor: pointer;
  font-size: 10px;
}
.unit-option:has(input:checked) {
  border-color: var(--ink);
  background: #edf9d9;
}
.unit-option:has(input:disabled) {
  opacity: 0.55;
  cursor: not-allowed;
}
.unit-option strong,
.unit-option small {
  display: block;
  line-height: 1.5;
}
.unit-option small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}
.single-unit {
  border: 1.5px solid var(--ink);
  background: #f4f0fa;
  padding: 11px 12px;
  font-size: 11px;
  display: flex;
  gap: 10px;
}
.single-unit strong,
.single-unit small {
  display: block;
}
.single-unit small {
  font-size: 10px;
  margin-top: 4px;
  color: var(--muted);
}
.unit-address {
  font-size: 10px;
  color: var(--muted);
  margin: 7px 0;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 9px;
  line-height: 1.55;
  margin: 19px 0;
  color: #676b61;
}
.check-label input {
  margin-top: 2px;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.registration-card .primary {
  font-size: 13px;
  padding: 17px;
}
.form-footnote {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  margin: 16px 0 0;
}
.form-footnote span {
  font-size: 13px;
  margin-right: 5px;
}
.under-form {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  margin: 20px 0 0;
}
.form-error {
  font-size: 12px;
  color: #9d2235;
  margin-bottom: 12px;
}
.form-error:empty,
.field-error {
  font-size: 10px;
  line-height: 1.4;
  color: #9d2235;
  margin-top: 5px;
  /* Reserve the line so showing an error never pushes the next field down. */
  min-height: 14px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.marquee {
  position: relative;
  /* Above the hero, so a decoration overflowing it never lands on the band. */
  z-index: 2;
  background: var(--lime);
  border-top: var(--border);
  border-bottom: var(--border);
  overflow: hidden;
  padding: 17px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
}
/* Each group is at least a screen wide, so the loop never leaves a gap. */
.marquee-group {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 31px;
  padding-right: 31px;
  flex: none;
  min-width: 100vw;
  white-space: nowrap;
  font-size: 15px;
  letter-spacing: 1.2px;
  font-weight: 700;
}
.marquee-star {
  font-size: 26px;
  line-height: 1;
}
.about-section {
  padding-top: 84px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
}
.section-index {
  display: block;
  font-size: 9px;
  margin-bottom: 20px;
}
.about-heading h2,
.teachers-heading h2 {
  font-size: 44px;
  line-height: 1.13;
  letter-spacing: -2px;
  margin-bottom: 22px;
}
.underline-lilac {
  box-shadow: inset 0 -12px 0 var(--lilac);
}
.about-heading p {
  font-size: 13px;
  color: #65675e;
  margin-bottom: 27px;
}
.text-link {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 7px;
}
.text-link span {
  font-size: 20px;
}
.about-content {
  padding-top: 26px;
}
.about-lead {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 17px;
  letter-spacing: -0.3px;
}
.about-content > p:not(.about-lead) {
  font-size: 12px;
  color: #696b62;
  line-height: 1.85;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.benefit-icon {
  border: 1.5px solid var(--ink);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 2px 2px 0 var(--ink);
  margin-bottom: 15px;
}
.benefit-grid h3 {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 7px;
}
.benefit-grid p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}
.teachers-section {
  border-top: var(--border);
  border-bottom: var(--border);
  background: #ede8f4;
}
.teachers-inner {
  padding-top: 64px;
  padding-bottom: 36px;
}
.teachers-heading {
  display: flex;
  align-items: flex-end;
  gap: 90px;
  position: relative;
  margin-bottom: 35px;
}
.teachers-heading h2 {
  margin-bottom: 0;
}
.teacher-highlight {
  background: var(--lilac);
  padding: 0 7px;
}
.teachers-heading > p {
  font-size: 12px;
  color: #67606b;
  margin-bottom: 7px;
  line-height: 1.8;
}
.teachers-heading > p strong {
  font-weight: 500;
  color: var(--ink);
}
.teachers-star {
  position: absolute;
  right: 18px;
  bottom: 6px;
  font-size: 87px;
  line-height: 1;
  transform: rotate(12deg);
  color: var(--lime);
  -webkit-text-stroke: 2px var(--ink);
}
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.teacher-card {
  background: white;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
}
.teacher-photo {
  position: relative;
  height: 240px;
  border-bottom: var(--border);
}
/* Initials on a solid block, one colour per area. */
.teacher-initials {
  display: grid;
  place-items: center;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -3px;
  color: var(--ink);
  background: var(--area-color, var(--lilac));
}
.teacher-initials > span:first-child {
  transform: rotate(-4deg);
}
.area-exatas {
  --area-color: var(--lime);
}
.area-linguagens {
  --area-color: var(--lilac);
}
.area-natureza {
  --area-color: #b8e8d8;
}
.area-humanas {
  --area-color: var(--peach);
}
.area-aulão,
.area-aulao {
  --area-color: #fff;
}
.subject-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  border: 1.5px solid var(--ink);
  background: var(--lime);
  padding: 6px 8px;
  font-size: 8px;
  letter-spacing: 0.6px;
}
.teacher-info {
  padding: 17px 14px;
  position: relative;
}
.teacher-info h3 {
  font-size: 16px;
  letter-spacing: -0.5px;
  margin-bottom: 5px;
  padding-right: 20px;
}
.teacher-info p {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 0;
}
.teacher-info > span {
  position: absolute;
  top: 16px;
  right: 13px;
  font-size: 21px;
}
.demo-note {
  font-size: 9px;
  color: #726a79;
  margin-top: 20px;
  text-align: center;
}
.closing-line {
  border-top: 1px solid #c7becf;
  margin-top: 32px;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.closing-line p {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 0;
}
.closing-line .button {
  font-size: 12px;
  padding: 15px 20px;
}
.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  padding-top: 35px;
  padding-bottom: 25px;
  gap: 18px;
}
.footer-brand .brand-name {
  font-size: 21px;
}
.site-footer > p {
  font-size: 10px;
  line-height: 1.5;
  margin: 0;
}
.site-footer > p strong {
  font-size: 14px;
}
.site-footer > div {
  display: flex;
  justify-content: end;
  gap: 18px;
  font-size: 10px;
}
.footer-note {
  grid-column: 1/-1;
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  padding-top: 17px;
  margin-top: 10px;
  border-top: 1px solid #dfdfd5;
}
.modal {
  max-width: 490px;
  width: calc(100% - 32px);
  padding: 38px;
  border: var(--border);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--paper);
  color: var(--ink);
  max-height: 90vh;
  overflow: auto;
}
.modal::backdrop {
  background: #1f211f88;
  backdrop-filter: blur(3px);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: 0;
  font-size: 28px;
}
.modal-icon {
  display: grid;
  place-items: center;
  font-size: 34px;
  background: var(--lime);
  width: 60px;
  height: 60px;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 28px;
}
.modal h2 {
  font-size: 32px;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.modal p {
  font-size: 13px;
}
.receipt {
  background: #eee7fa;
  border: 1.5px solid var(--ink);
  padding: 16px;
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.receipt small {
  font-size: 9px;
  letter-spacing: 1px;
}
.receipt strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.receipt span {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: var(--lime);
  padding: 15px;
  border: var(--border);
}
.skip-link:focus {
  top: 10px;
}
.noscript-notice {
  position: fixed;
  bottom: 0;
  background: var(--peach);
  border: var(--border);
  padding: 15px;
  width: 100%;
  z-index: 10;
}
@media (min-width: 1440px) {
  .hero {
    gap: 90px;
    padding-top: 80px;
    padding-bottom: 82px;
  }
  .teacher-photo {
    height: 255px;
  }
}
@media (max-width: 1100px) {
  .section-wrap {
    padding-left: 35px;
    padding-right: 35px;
  }
  .site-header {
    padding: 0 35px;
  }
  .hero {
    gap: 36px;
  }
  h1 {
    font-size: 65px;
  }
  .outline-star {
    right: -102px;
    font-size: 56px;
  }
  .registration-card {
    padding: 25px 22px 20px;
  }
  .registration-card h2 {
    font-size: 27px;
  }
  .hero-tags .tag:last-child {
    display: none;
  }
  .event-details {
    gap: 16px;
  }
  .about-section {
    gap: 40px;
  }
  .teacher-photo {
    height: 220px;
  }
  .teacher-info h3 {
    font-size: 14px;
  }
  .teacher-grid {
    gap: 15px;
  }
  .teachers-heading {
    gap: 60px;
  }
}
@media (max-width: 820px) {
  .site-header {
    height: 85px;
    padding: 0 24px;
  }
  .site-header nav {
    gap: 20px;
  }
  .site-header nav > a:not(.button) {
    display: none;
  }
  .section-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 42px;
    padding-bottom: 45px;
  }
  .hero-copy {
    max-width: 600px;
  }
  h1 {
    font-size: 56px;
    letter-spacing: -3px;
  }
  .outline-star {
    right: -96px;
    font-size: 52px;
  }
  .hero-lockup {
    width: min(100%, 360px);
    margin-left: -4px;
  }
  .hero-tagline {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-tags .tag:last-child {
    display: inline-block;
  }
  .hero-signoff {
    display: none;
  }
  .event-details {
    gap: 35px;
  }
  .form-column {
    max-width: 560px;
    width: 100%;
    margin: auto;
    padding-top: 0;
  }
  .form-sticker {
    right: 8px;
    top: -24px;
  }
  .registration-card {
    padding: 30px;
  }
  .registration-card h2 {
    font-size: 34px;
  }
  .registration-card > label:not(.check-label),
  legend {
    font-size: 13px;
  }
  input:not([type="checkbox"]):not([type="radio"]),
  select {
    font-size: 16px;
    height: 48px;
  }
  .check-label {
    font-size: 11px;
  }
  .form-topline .mono {
    font-size: 10px;
  }
  .availability {
    font-size: 12px;
  }
  .form-footnote,
  .under-form {
    font-size: 11px;
  }
  .unit-option {
    font-size: 12px;
    padding: 12px;
  }
  .unit-option small {
    font-size: 10px;
  }
  .single-unit {
    font-size: 13px;
  }
  .single-unit small {
    font-size: 11px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .about-content {
    padding-top: 0;
  }
  .about-heading h2,
  .teachers-heading h2 {
    font-size: 43px;
  }
  .about-content > p:not(.about-lead) {
    font-size: 14px;
  }
  .about-heading p {
    font-size: 14px;
  }
  .benefit-grid h3 {
    font-size: 14px;
  }
  .benefit-grid p {
    font-size: 12px;
  }
  .teachers-inner {
    padding-top: 45px;
  }
  .teacher-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .teacher-photo {
    height: 270px;
  }
  .teacher-info h3 {
    font-size: 18px;
  }
  .teacher-info p {
    font-size: 12px;
  }
  .teachers-heading {
    gap: 30px;
  }
  .teachers-star {
    display: none;
  }
  .closing-line p {
    font-size: 20px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer > div {
    grid-column: 1/-1;
    justify-content: start;
  }
  .demo-note {
    font-size: 10px;
  }
  .section-index {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .site-header {
    padding: 0 20px;
    height: 80px;
  }
  .brand-mark {
    width: 39px;
    height: 39px;
    font-size: 24px;
  }
  .brand-mark span {
    font-size: 18px;
  }
  .brand-name {
    font-size: 19px;
  }
  .site-header .button {
    font-size: 10px;
    padding: 11px 12px;
    gap: 12px;
  }
  .section-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    padding-top: 32px;
    gap: 38px;
  }
  h1 {
    font-size: 44px;
    letter-spacing: -3.5px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.8px;
    margin-bottom: 22px;
  }
  .outline-star {
    right: -91px;
    font-size: 50px;
    bottom: 10px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-tags {
    margin-bottom: 23px;
    gap: 5px;
  }
  .tag {
    font-size: 7px;
    padding: 6px;
  }
  .event-details {
    gap: 18px;
  }
  .event-details strong {
    font-size: 11px;
  }
  .event-details span span {
    font-size: 9px;
  }
  .event-details small {
    font-size: 7px;
  }
  .detail-icon {
    width: 27px;
    height: 30px;
  }
  .registration-card {
    padding: 26px 20px 20px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .registration-card h2 {
    font-size: 29px;
  }
  .form-topline .mono {
    font-size: 8px;
  }
  .form-sticker {
    top: -24px;
    padding: 8px 11px;
    font-size: 10px;
  }
  .hero-tags .tag:last-child {
    font-size: 6px;
  }
  .registration-card .primary {
    font-size: 12px;
  }
  .about-heading h2,
  .teachers-heading h2 {
    font-size: 38px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .benefit-grid article {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 14px;
  }
  .benefit-icon {
    grid-row: 1/3;
    margin-bottom: 0;
  }
  .benefit-grid h3 {
    margin-bottom: 3px;
  }
  .teachers-heading {
    display: block;
  }
  .teachers-heading > p {
    margin-top: 20px;
  }
  .teacher-grid {
    gap: 15px;
  }
  .teacher-photo {
    height: 200px;
  }
  .teacher-info {
    padding: 14px 10px;
  }
  .teacher-info h3 {
    font-size: 14px;
    padding-right: 0;
  }
  .teacher-info p {
    font-size: 10px;
  }
  .teacher-info > span {
    display: none;
  }
  .subject-tag {
    font-size: 6px;
    left: 8px;
    bottom: 8px;
    padding: 5px;
  }
  .closing-line {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .closing-line p {
    font-size: 22px;
  }
  .closing-line .button {
    justify-content: space-between;
  }
  .site-footer {
    gap: 24px;
  }
  .footer-brand .brand-name {
    font-size: 19px;
  }
  .site-footer > p strong {
    font-size: 12px;
  }
  .modal {
    padding: 30px 24px;
  }
  .modal h2 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Neobrutalist micro-interactions */
@keyframes floatSticker {
  0%,
  100% {
    transform: rotate(9deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-5px);
  }
}
@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}
/* Section entrance: reveal.js sets data-reveal, the CSS does the rest. */
[data-reveal] {
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="out"] {
  opacity: 0;
  transform: translateY(26px);
}
[data-reveal="in"] {
  opacity: 1;
  transform: translateY(0);
}
.form-sticker {
  animation: floatSticker 3.6s ease-in-out infinite;
  transform-origin: 70% 70%;
}
.live-dot {
  animation: pulseDot 2s ease-in-out infinite;
}
.marquee-track {
  animation: marqueeSlide 26s linear infinite;
}
/* Exactly one group: the second copy lands where the first began. */
@keyframes marqueeSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.button,
.text-link,
.text-button,
.brand,
.tab,
.unit-option,
.teacher-card,
.benefit-icon,
.metric,
.registration-card,
.unit-card {
  transition:
    transform 0.2s cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.button:hover:not(:disabled) {
  transform: translate(2px, 2px) rotate(-0.5deg);
}
.button.primary:hover:not(:disabled) {
  background: #d6ff81;
}
.text-link:hover,
.text-button:hover {
  color: #674291;
}
.brand:hover {
  transform: translateY(-2px);
}
.brand:hover .brand-mark {
  transform: rotate(-11deg) scale(1.05);
  box-shadow: 4px 4px 0 var(--ink);
}
.registration-card:hover {
  box-shadow: 11px 11px 0 var(--ink);
  transform: translate(-2px, -2px);
}
.registration-card input:not([type="checkbox"]):not([type="radio"]):hover,
.registration-card select:hover {
  background: #fff;
  border-color: #674291;
}
.registration-card input:not([type="checkbox"]):not([type="radio"]):focus,
.registration-card select:focus {
  background: #fff;
  transform: translateX(2px);
  box-shadow: 3px 3px 0 var(--lilac);
}
.unit-option:hover:not(:has(input:disabled)) {
  border-color: #674291;
  transform: translateY(-2px);
  box-shadow: 2px 2px 0 var(--ink);
}
.benefit-grid article:hover .benefit-icon {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 4px 4px 0 var(--ink);
}
.teacher-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: 8px 8px 0 var(--ink);
}
.teacher-card:hover .teacher-photo {
  filter: saturate(1.05);
  transform: scale(1.025);
}
.teacher-photo {
  transition:
    transform 0.35s cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 0.35s ease;
  overflow: hidden;
}
.teacher-card:hover .subject-tag {
  transform: rotate(-4deg) translateY(-2px);
}
.metric:hover {
  transform: translateY(-4px);
  box-shadow: 6px 6px 0 var(--ink);
}
.unit-card:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0 var(--ink);
  background: #fff;
}
.tab:hover {
  color: #674291;
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .form-sticker,
  .live-dot,
  .marquee-track {
    animation: none;
  }
  .button,
  .text-link,
  .text-button,
  .brand,
  .tab,
  .unit-option,
  .teacher-card,
  .benefit-icon,
  .metric,
  .registration-card,
  .unit-card {
    transition: none;
  }
}

/* ---------- Event index (/) ---------- */
.event-index {
  padding-top: 56px;
  padding-bottom: 80px;
}
.event-index-heading {
  max-width: 720px;
  margin-bottom: 44px;
}
.event-index-heading h1 {
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
  margin: 14px 0 18px;
  letter-spacing: -0.03em;
}
.event-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.event-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.event-card {
  cursor: pointer;
}
.event-card:hover,
.event-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 var(--ink);
}
.event-card:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}
.event-card:hover .event-card-link {
  text-decoration-thickness: 3px;
}
.event-card h2 {
  font-size: 28px;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
.event-card > p {
  margin: 0;
  color: var(--muted);
}
.event-card-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 6px 0 0;
  font-size: 14px;
}
.event-card-facts dt {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--muted);
  align-self: center;
}
.event-card-facts dd {
  margin: 0;
  font-weight: 600;
}
.event-card-link {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 404 page ---------- */
.not-found {
  padding-top: 90px;
  padding-bottom: 120px;
  max-width: 700px;
}
.not-found h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  margin: 14px 0 16px;
  letter-spacing: -0.03em;
}

/* ---------- Coming soon ---------- */
/* Header on top, footer on the floor, message centred in what is left. */
.soon-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
/* Header and footer centre their own content with margin auto; as flex items
   that auto margin would shrink them to fit, so hold them at full width. */
.soon-page > header,
.soon-page > main,
.soon-page > footer {
  width: 100%;
}
.soon-page main {
  flex: 1;
  display: flex;
  align-items: center;
}
/* No max-width of its own: the section-wrap gutter is what lines the message up
   with the brand in the header and the seal in the footer. */
.soon {
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
}
.soon h1 {
  margin: 0 0 18px;
}
.soon .hero-description {
  max-width: 46ch;
  margin: 0;
}
/* Without the links column the three-column footer left a hole on the right;
   two columns put the seal opposite the brand. Phones keep the stacked footer. */
@media (min-width: 821px) {
  .soon-page .site-footer {
    grid-template-columns: 1fr auto;
  }
}
/* Wide screens run the page at zoom 1.1, which would stretch 100vh past the
   viewport and hand the page a scrollbar it does not need. */
@media (min-width: 900px) {
  .soon-page {
    min-height: calc(100vh / var(--ui-zoom, 1.1));
  }
}
@media (max-width: 820px) {
  .soon {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (max-width: 480px) {
  .soon {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .soon h1 {
    margin-bottom: 14px;
  }
}

/* ---------- School-only event ---------- */
.school-notice p {
  color: var(--muted);
}
.unit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.unit-list-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 14px;
  border: var(--border);
  background: var(--paper);
}
.unit-list-item strong {
  display: block;
}
.unit-list-item small {
  color: var(--muted);
}
.unit-list-item .tag {
  white-space: nowrap;
}

/* ---------- School page ---------- */
.session-list {
  margin-top: 22px;
}
.session-list ol {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}
.session-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 10px 12px;
  border: var(--border);
  background: var(--paper);
}
.session-list li small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  word-break: break-all;
}
.session-list .empty-state {
  display: block;
  border: none;
  background: none;
  color: var(--muted);
  padding: 0;
}

/* ---------- Registration blocked: closed, sold out, or units pending ---------- */
.form-closed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: var(--border);
  background: var(--peach);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
  line-height: 1.6;
}
.form-closed strong {
  font-size: 15px;
  letter-spacing: -0.3px;
}
.registration-card:has(.form-closed:not([hidden])) label,
.registration-card:has(.form-closed:not([hidden])) .unit-picker {
  opacity: 0.5;
}

/* ---------- Materials page ---------- */
.materials-page {
  padding-top: 56px;
  padding-bottom: 84px;
}
.materials-heading {
  max-width: 700px;
  margin-bottom: 42px;
}
.materials-heading h1 {
  font-size: clamp(42px, 6.4vw, 74px);
  line-height: 0.98;
  margin: 14px 0 18px;
  letter-spacing: -0.03em;
}
.material-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.material-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow);
}
.material-card h2 {
  font-size: 22px;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}
.material-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.material-file {
  font-size: 11px;
  color: var(--muted);
  word-break: break-all;
}
.material-card .button {
  margin-top: auto;
  width: 100%;
  justify-content: space-between;
}

/* ---------- Themed hero: lockup and tagline ---------- */
.hero-lockup {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 4px 0 18px -10px;
  filter: drop-shadow(0 14px 0 rgba(0, 0, 0, 0.18));
}
.hero-tagline {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.form-decoration {
  position: absolute;
  right: -30px;
  bottom: -120px;
  width: 150px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  transform: rotate(8deg);
  filter: drop-shadow(6px 8px 0 rgba(0, 0, 0, 0.25));
}
/* Below this the hero is too short to hold the pencil without hitting the band. */
@media (max-width: 1100px) {
  .form-decoration {
    display: none;
  }
}

/* ---------- Sponsor in the footer ---------- */
.sponsor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.sponsor img {
  width: 118px;
  height: auto;
}
.teachers-section--empty .closing-line {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Teacher tiles: two per row and shorter on phones. */
@media (max-width: 820px) {
  .teacher-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .teacher-photo {
    height: 140px;
  }
  .teacher-initials {
    font-size: 44px;
    letter-spacing: -2px;
  }
  .subject-tag {
    bottom: 8px;
    left: 8px;
    padding: 4px 6px;
    font-size: 8px;
  }
  .teacher-info h3 {
    font-size: 15px;
  }
  .hero-tagline {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .hero-lockup {
    width: min(100%, 300px);
  }
  .hero-tagline {
    font-size: 22px;
  }
  .teacher-photo {
    height: 120px;
  }
  .teacher-initials {
    font-size: 38px;
  }
}

/* Header without the brand block: the hero lockup is the identity. */
.site-header--plain {
  justify-content: space-between;
}
.header-home {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 6px;
}
@media (max-width: 820px) {
  .site-header--plain {
    height: 64px;
  }
}

/* ---------- Lettering mark in the header and footer ---------- */
.brand--lettering {
  display: inline-block;
  width: 118px;
  color: var(--ink);
  line-height: 0;
}
.brand--lettering svg {
  width: 100%;
  height: auto;
  display: block;
}
.footer-brand.brand--lettering {
  width: 96px;
}
[data-theme="preifal"] .brand--lettering,
[data-theme="enem"] .brand--lettering {
  color: #fff;
}
@media (max-width: 820px) {
  .brand--lettering {
    width: 92px;
  }
}

/* ---------- Footer: Realização seal ---------- */
.sponsor {
  align-items: flex-start;
}
.sponsor .section-index {
  margin-bottom: 4px;
}
.sponsor-seal {
  display: block;
  width: 128px;
  color: #0c4885;
  line-height: 0;
}
.sponsor-seal svg {
  width: 100%;
  height: auto;
  display: block;
}
.sponsor-caption {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--ink);
}
[data-theme="preifal"] .sponsor-seal,
[data-theme="enem"] .sponsor-seal,
[data-theme="preifal"] .sponsor-caption,
[data-theme="enem"] .sponsor-caption {
  color: #fff;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
}
.footer-links a,
.footer-links .text-button {
  font-weight: 600;
}
.receipt-when {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- When and where, together ---------- */
.unit-when {
  margin: 10px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.unit-list-item .unit-when {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
.closing-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 14px 0 0;
  font-size: 13px;
}
.closing-facts dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.closing-facts dd {
  margin: 0;
  font-weight: 600;
}

/* ---------- School roster: masked names on a shared link ---------- */
.roster {
  margin-top: 22px;
}
.roster ol {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 340px;
  overflow-y: auto;
}
.roster li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: var(--border);
  background: var(--paper);
  font-size: 14px;
}
.roster li strong {
  word-break: break-word;
}
.roster .empty-state {
  display: block;
  border: none;
  background: none;
  color: var(--muted);
  padding: 0;
}

/* ---------- Teacher portrait ---------- */
/* The cut-out sits on the same area colour the initials tile uses. */
.teacher-portrait {
  overflow: hidden;
  background: var(--area-color, var(--lilac));
}
.teacher-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform-origin: center 30%;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
/* Muted until pointed at; touch screens have no hover, so they get full colour. */
@media (hover: hover) {
  .teacher-portrait img {
    filter: saturate(0.65);
  }
  .teacher-card:hover .teacher-portrait img {
    filter: saturate(1);
    transform: scale(1.07);
  }
}

