:root {
  --bg: #f5fbff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-2: #ffffff;
  --stroke: #d8eefd;
  --text: #1c3555;
  --text-soft: #567192;
  --aula: #1f4b7c;
  --vibe: #55c7ff;
  --primary: #4eb6ff;
  --primary-strong: #2295e6;
  --good: #64dca9;
  --shadow: 0 18px 42px rgba(46, 118, 178, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "nunito", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, #9be6ff66 0%, transparent 36%),
    radial-gradient(circle at 88% 8%, #b6f8d45c 0%, transparent 30%),
    radial-gradient(circle at 46% 92%, #b9d9ff5e 0%, transparent 34%),
    var(--bg);
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(1px);
  z-index: -1;
  opacity: 0.72;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}

.bg-shape.s1 {
  width: 280px;
  height: 280px;
  top: -90px;
  left: -60px;
  background: radial-gradient(circle, #8fdfff99, transparent 70%);
}

.bg-shape.s2 {
  width: 240px;
  height: 240px;
  right: -70px;
  top: 160px;
  background: radial-gradient(circle, #8ff0cc80, transparent 72%);
  animation-delay: -4s;
}

.bg-shape.s3 {
  width: 260px;
  height: 260px;
  left: 32%;
  bottom: -120px;
  background: radial-gradient(circle, #94bdff70, transparent 70%);
  animation-delay: -8s;
}

.topbar {
  width: min(1160px, calc(100% - 1.4rem));
  margin: 1rem auto 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.05rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid #d4ebfa;
  border-radius: 999px;
  background: #ffffffc4;
  box-shadow: 0 8px 20px rgba(83, 139, 188, 0.18);
  font-family: "baloo 2", sans-serif;
  font-size: 1.2rem;
}

.brand-aula {
  color: var(--aula);
  font-weight: 800;
}

.brand-vibe {
  color: var(--vibe);
  font-weight: 700;
}

.container {
  width: min(1160px, calc(100% - 1.4rem));
  margin: 0.75rem auto 1.25rem;
}

.banner {
  display: block;
  padding: 0;
  border-radius: 1.7rem;
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, #ffffffd9, #eef9ffcc);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.banner-right {
  position: relative;
  --banner-h: clamp(140px, 22vw, 220px);
  border-radius: 0;
  border: 0;
  background: linear-gradient(155deg, #122945d9, #0f243fd4);
  min-height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, #2c4b6a66 0%, transparent 48%),
    #0d2035;
}

.banner-track {
  display: flex;
  width: 100%;
  transform: translateX(0);
  transition: transform 1.1s cubic-bezier(0.25, 0.9, 0.28, 1);
  will-change: transform;
}

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.banner-media {
  width: 100%;
  height: 100%;
  max-height: none;
  object-position: center;
  display: block;
  border-radius: 0;
}

.banner-image {
  object-fit: contain;
}

.banner-video {
  object-fit: cover;
}

.banner-slide-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 20, 36, 0.74) 0%, rgba(5, 20, 36, 0.22) 55%, rgba(5, 20, 36, 0.05) 100%);
  pointer-events: none;
}

.banner-overlay-text {
  position: absolute;
  left: 0;
  top: 43%;
  transform: translateY(-50%) translateX(-12px);
  z-index: 2;
  width: 50%;
  max-width: none;
  padding: 0 clamp(0.7rem, 2vw, 1.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

.banner-overlay-logo {
  width: clamp(140px, 18vw, 236px);
  height: auto;
  object-fit: contain;
  align-self: center;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

.banner-slide-highlight .banner-overlay-text p {
  color: #ffffff;
  font-family: "fredoka", "nunito", sans-serif;
  font-size: clamp(0.98rem, 1.95vw, 1.34rem);
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: 0.018em;
  text-align: center;
  text-shadow:
    0 0 8px rgba(182, 230, 255, 0.68),
    0 0 18px rgba(106, 197, 255, 0.52),
    0 3px 14px rgba(0, 0, 0, 0.42);
  margin: 0;
}

.banner-slide-highlight.is-current .banner-overlay-text {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 0.62rem;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.35rem;
  z-index: 3;
}

.banner-dot {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: rgba(217, 236, 255, 0.34);
  border: 1px solid rgba(217, 236, 255, 0.52);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.banner-dot.is-active {
  background: #9dd6ff;
  transform: scale(1.2);
}

.subject-hub {
  margin-top: 0.85rem;
  border-radius: 1.55rem;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(circle at 14% 14%, rgba(126, 233, 255, 0.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 165, 74, 0.14), transparent 38%),
    var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.subject-head {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.subject-kicker {
  width: fit-content;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #ebffd2;
  border: 1px solid rgba(202, 255, 106, 0.72);
  border-radius: 999px;
  padding: 0.18rem 0.56rem;
  background: linear-gradient(135deg, rgba(126, 255, 49, 0.25), rgba(53, 109, 12, 0.38));
  box-shadow:
    0 0 0 1px rgba(18, 34, 10, 0.35) inset,
    0 5px 12px rgba(17, 39, 8, 0.26);
}

.subject-head h2 {
  font-family: "baloo 2", sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.94rem);
  color: #dbedff;
  line-height: 1.1;
}

.subject-subtitle {
  color: #a9c3dd;
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 720px;
}

.subject-grid {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.subject-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.subject-btn {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  min-height: 132px;
  border-radius: 1.25rem;
  border: 1px solid #45719f;
  box-shadow: 0 14px 24px rgba(5, 16, 34, 0.36);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.subject-item:hover .subject-btn {
  transform: translateY(-2px);
  filter: saturate(1.06) brightness(1.03);
  box-shadow:
    0 0 0 3px rgba(170, 255, 30, 0.45),
    0 0 34px rgba(170, 255, 30, 0.42),
    0 20px 30px rgba(2, 10, 22, 0.46);
}

.subject-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 36%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.subject-item:hover .subject-btn::after {
  transform: translateX(120%);
}

.subject-btn-libras {
  background-image: url("./assets/componentes/card_libras.webp");
}

.subject-btn-portugues {
  background-image: url("./assets/componentes/card_lingua_portuguesa.webp");
}

.subject-btn-quimica {
  background-image: url("./assets/componentes/card_quimica.webp");
}

.subject-btn-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0 0.2rem;
  align-items: center;
  text-align: center;
}

.subject-btn-copy strong {
  color: #f2f9ff;
  font-family: "baloo 2", sans-serif;
  font-size: clamp(1.03rem, 1.55vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow:
    0 2px 0 rgba(5, 21, 38, 0.45),
    0 0 14px rgba(149, 216, 255, 0.26);
  line-height: 1.05;
}

.subject-btn-copy small {
  margin-top: 0.22rem;
}

.subject-app-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(202, 255, 106, 0.72);
  background: linear-gradient(135deg, rgba(126, 255, 49, 0.25), rgba(53, 109, 12, 0.38));
  color: #ebffd2;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 1px rgba(18, 34, 10, 0.35) inset,
    0 5px 12px rgba(17, 39, 8, 0.26);
}

.discipline-nav {
  margin-top: 0.85rem;
  padding: 0.6rem;
  border-radius: 1.12rem;
  border: 1px solid var(--stroke);
  background: var(--surface);
  display: flex;
  gap: 0.52rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.discipline-link {
  text-decoration: none;
  color: #b4cde4;
  border: 1px solid #376089;
  background: #112943;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.discipline-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  border-color: #5786b4;
}

.discipline-link.is-active {
  color: #112945;
  border-color: #d8efff;
  background: linear-gradient(135deg, #9ddcff, #79c8ff);
}

.apps {
  margin-top: 0.85rem;
  border-radius: 1.55rem;
  border: 1px solid var(--stroke);
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.apps-head {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.apps h2 {
  font-family: "baloo 2", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: #1f4772;
}

.apps-head-actions {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #d3e8f7;
  border-radius: 999px;
  padding: 0.25rem 0.35rem 0.25rem 0.68rem;
}

.search-wrap span {
  font-size: 0.85rem;
  font-weight: 800;
  color: #4f6f92;
}

.search-wrap input {
  border: 0;
  outline: 0;
  width: min(270px, 48vw);
  font-family: "nunito", sans-serif;
  font-size: 0.93rem;
  color: #2d5078;
  background: transparent;
}

.section-back-btn {
  text-decoration: none;
  color: #bcd7f0;
  border: 1px solid #406a93;
  border-radius: 0.82rem;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 0.42rem 0.64rem;
  background: #112a45;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.section-back-btn:hover {
  color: #e6f4ff;
  border-color: #5f89b1;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.apps-grid.apps-grid-single {
  grid-template-columns: minmax(220px, 360px);
  justify-content: center;
}

.app-card {
  border-radius: 1.15rem;
  border: 1px solid #d6ebfa;
  background: var(--surface-2);
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(46, 118, 178, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(46, 118, 178, 0.18);
}

.app-card:focus-visible {
  outline: 3px solid #2f8de4;
  outline-offset: 3px;
}

.app-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-body h3 {
  font-family: "baloo 2", sans-serif;
  font-size: 1.3rem;
  line-height: 1;
  color: #1f4c78;
}

.card-body p {
  color: #56769a;
  font-size: 0.92rem;
  line-height: 1.35;
  min-height: 2.4em;
}

.open-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  padding: 0.62rem 0.82rem;
  border-radius: 0.95rem;
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  color: #123a63;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(135deg, #d8ff3d, #a7ff1f 52%, #76ff03),
    radial-gradient(circle at 16% 12%, #ffffff66 0%, transparent 40%);
  box-shadow:
    0 10px 18px rgba(50, 95, 8, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.open-btn:hover {
  filter: brightness(1.08) saturate(1.06);
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 14px 22px rgba(55, 110, 10, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.open-btn:active {
  transform: translateY(0) scale(0.99);
}

.open-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 36%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.open-btn:hover::after {
  transform: translateX(120%);
}

.empty-state {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 0.8rem;
  border: 1px dashed #c7e3f6;
  color: #53779d;
  font-weight: 700;
  text-align: center;
  background: #ffffffb8;
}

.app-card.is-hidden {
  display: none;
}

.page-about-link {
  width: min(1160px, calc(100% - 1.4rem));
  margin: 0.45rem auto 0.15rem;
  text-align: left;
  font-size: 0.72rem;
  opacity: 0.76;
}

.page-about-link a {
  color: #8ea8c1;
  text-decoration: none;
}

.page-about-link a:hover {
  color: #b7d9f8;
  text-decoration: underline;
}

.about-main {
  margin-top: 1rem;
}

.about-card {
  border-radius: 1.45rem;
  border: 1px solid var(--stroke);
  background: var(--surface);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.about-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.about-title {
  font-family: "baloo 2", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.86rem);
  color: #d9ecff;
}

.about-back {
  color: #c4e4ff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 0.3rem 0.62rem;
  border: 1px solid #416990;
  border-radius: 0.75rem;
  background: #112a45;
  box-shadow: 0 8px 16px rgba(2, 10, 22, 0.34);
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.about-back:hover {
  color: #e4f4ff;
  border-color: #5f89b1;
  filter: brightness(1.06);
  transform: translateY(-1px);
  text-decoration: none;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1rem;
  align-items: center;
}

.about-logo-wrap {
  border-radius: 1.1rem;
  border: 1px solid #355a80;
  background: linear-gradient(145deg, #102841f2, #0d1f35e8);
  padding: 0.85rem;
  box-shadow: 0 14px 24px rgba(2, 10, 22, 0.44);
  transform: rotate(-1.5deg);
}

.about-logo {
  width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0.8rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.about-text p {
  color: #b5cee6;
  font-size: 1rem;
  line-height: 1.62;
  text-align: justify;
}

.about-note {
  display: inline-block;
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 800;
  color: #8ed3ff;
  border: 1px dashed #3d678f;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  background: #102944;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(1160px, calc(100% - 1.1rem));
  }

  .banner-right {
    --banner-h: clamp(130px, 28vw, 190px);
  }

  .banner-image {
    max-height: none;
  }

  .apps {
    padding: 0.9rem;
  }

  .subject-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apps-head {
    gap: 0.7rem;
  }

  .apps-head-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
  }

  .card-body h3 {
    font-size: 1.16rem;
  }

  .card-body p {
    min-height: unset;
  }
}

@media (max-width: 640px) {
  .topbar {
    margin-top: 0.7rem;
    gap: 0.6rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .container {
    width: 100%;
    margin-top: 0.45rem;
    margin-bottom: 0.85rem;
  }

  .banner {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .banner-right {
    --banner-h: clamp(132px, 44vw, 220px);
  }

  .banner-dots {
    bottom: 0.5rem;
  }

  .banner-image {
    object-fit: cover;
  }

  .banner-overlay-text {
    width: 58%;
    left: 0;
    padding: 0 0.72rem;
    gap: 0.4rem;
  }

  .banner-overlay-text p {
    font-size: clamp(0.9rem, 2.9vw, 1.08rem);
    line-height: 1.54;
  }

  .apps-head {
    margin-bottom: 0.78rem;
  }

  .subject-hub {
    width: calc(100% - 1rem);
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.2rem;
    padding: 0.78rem;
  }

  .subject-subtitle {
    font-size: 0.9rem;
  }

  .subject-grid {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }

  .subject-btn {
    padding: 1rem 0.92rem;
    min-height: 118px;
  }

  .discipline-nav {
    width: calc(100% - 1rem);
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.98rem;
    padding: 0.48rem;
    gap: 0.42rem;
  }

  .discipline-link {
    padding: 0.36rem 0.62rem;
    font-size: 0.82rem;
  }

  .apps {
    width: calc(100% - 1rem);
    margin-left: auto;
    margin-right: auto;
    border-radius: 1.2rem;
    padding: 0.75rem;
  }

  .apps h2 {
    font-size: clamp(1.2rem, 5.4vw, 1.45rem);
    line-height: 1.05;
  }

  .search-wrap {
    width: 100%;
    justify-content: space-between;
    padding: 0.34rem 0.48rem 0.34rem 0.68rem;
    border-radius: 0.92rem;
  }

  .section-back-btn {
    width: 100%;
    text-align: center;
    border-radius: 0.8rem;
    padding-top: 0.52rem;
    padding-bottom: 0.52rem;
  }

  .search-wrap input {
    width: 100%;
    min-height: 2rem;
    font-size: 0.96rem;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    gap: 0.68rem;
  }

  .app-card {
    border-radius: 1rem;
  }

  .app-card img {
    aspect-ratio: 16 / 9;
  }

  .card-body {
    padding: 0.74rem;
    gap: 0.44rem;
  }

  .card-body h3 {
    font-size: 1.15rem;
  }

  .card-body p {
    font-size: 0.9rem;
    line-height: 1.32;
  }

  .open-btn {
    width: 100%;
    min-height: 2.7rem;
    font-size: 1rem;
    border-radius: 0.82rem;
  }

  .page-contact,
  .page-copy {
    font-size: 0.72rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .page-about-link {
    width: calc(100% - 1rem);
    margin-top: 0.35rem;
  }

  .about-main {
    margin-top: 0.55rem;
  }

  .about-card {
    border-radius: 1.1rem;
    padding: 0.74rem;
  }

  .about-head {
    margin-bottom: 0.7rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .about-logo-wrap {
    max-width: 300px;
    margin: 0 auto;
    transform: rotate(-1deg);
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.54;
  }
}

@media (max-width: 480px) {
  body {
    background:
      radial-gradient(circle at 8% 8%, #2ba1df2b 0%, transparent 38%),
      radial-gradient(circle at 90% 10%, #33d8a227 0%, transparent 34%),
      radial-gradient(circle at 50% 95%, #4d7ac02d 0%, transparent 40%),
      var(--bg);
  }

  .bg-shape {
    opacity: 0.5;
    filter: blur(0.5px);
  }

  .bg-shape.s1 {
    width: 190px;
    height: 190px;
    top: -80px;
    left: -90px;
  }

  .bg-shape.s2 {
    width: 160px;
    height: 160px;
    right: -80px;
    top: 170px;
  }

  .bg-shape.s3 {
    width: 180px;
    height: 180px;
    left: 26%;
    bottom: -90px;
  }

  .container {
    width: 100%;
    margin-top: 0.35rem;
    margin-bottom: 0.85rem;
  }

  .banner {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .banner-right {
    --banner-h: clamp(124px, 48vw, 196px);
  }

  .banner-dots {
    bottom: 0.42rem;
  }

  .banner-slide-highlight::after {
    background: linear-gradient(90deg, rgba(5, 20, 36, 0.82) 0%, rgba(5, 20, 36, 0.3) 58%, rgba(5, 20, 36, 0.08) 100%);
  }

  .banner-overlay-text {
    width: 62%;
    left: 0;
    padding: 0 0.64rem;
    gap: 0.32rem;
  }

  .banner-overlay-logo {
    width: 126px;
  }

  .banner-overlay-text p {
    font-size: clamp(0.84rem, 3.9vw, 0.98rem);
    line-height: 1.5;
  }

  .apps {
    width: calc(100% - 0.85rem);
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.68rem;
    border-radius: 1rem;
    padding: 0.62rem;
  }

  .subject-hub {
    width: calc(100% - 0.85rem);
    margin-top: 0.68rem;
    border-radius: 1rem;
    padding: 0.62rem;
  }

  .subject-kicker {
    font-size: 0.66rem;
    padding: 0.16rem 0.48rem;
  }

  .subject-btn-copy strong {
    font-size: 0.94rem;
  }

  .subject-btn-copy small {
    font-size: 0.68rem;
  }

  .discipline-nav {
    width: calc(100% - 0.85rem);
  }

  .apps-head {
    gap: 0.58rem;
    margin-bottom: 0.62rem;
  }

  .apps h2 {
    font-size: clamp(1.08rem, 5.8vw, 1.3rem);
  }

  .search-wrap span {
    font-size: 0.79rem;
  }

  .search-wrap input {
    font-size: 0.91rem;
    min-height: 1.85rem;
  }

  .app-card img {
    aspect-ratio: 15 / 9;
  }

  .card-body {
    padding: 0.62rem;
  }

  .card-body h3 {
    font-size: 1.02rem;
  }

  .card-body p {
    font-size: 0.86rem;
  }

  .open-btn {
    min-height: 2.5rem;
    padding: 0.55rem 0.74rem;
    font-size: 0.96rem;
  }

  .empty-state {
    margin-top: 0.62rem;
    padding: 0.64rem;
    font-size: 0.88rem;
  }

  .page-about-link {
    width: calc(100% - 0.85rem);
    font-size: 0.7rem;
  }

  .about-card {
    border-radius: 0.95rem;
    padding: 0.62rem;
  }

  .about-title {
    font-size: clamp(1.08rem, 6vw, 1.32rem);
  }

  .about-back {
    font-size: 0.83rem;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .about-note {
    font-size: 0.77rem;
    padding: 0.2rem 0.56rem;
  }
}

/* modo escuro aplicado */
:root {
  --bg: #071322;
  --surface: rgba(16, 31, 50, 0.84);
  --surface-2: #122742;
  --stroke: #2a4a6d;
  --text: #e9f5ff;
  --text-soft: #abc4dc;
  --aula: #86a4c7;
  --vibe: #7fe7ff;
  --primary: #59b8ff;
  --primary-strong: #2b92dd;
  --shadow: 0 18px 42px rgba(2, 10, 22, 0.46);
}

body {
  background:
    radial-gradient(circle at 10% 10%, #2ba1df38 0%, transparent 36%),
    radial-gradient(circle at 88% 8%, #33d8a232 0%, transparent 30%),
    radial-gradient(circle at 46% 92%, #4d7ac039 0%, transparent 34%),
    var(--bg);
}

.bg-shape.s1 {
  background: radial-gradient(circle, #3aa6de6e, transparent 70%);
}

.bg-shape.s2 {
  background: radial-gradient(circle, #3cd8ac63, transparent 72%);
}

.bg-shape.s3 {
  background: radial-gradient(circle, #4b74bf68, transparent 70%);
}

.brand {
  border-color: #355a80;
  background: #102740d9;
  box-shadow: 0 8px 20px rgba(5, 16, 34, 0.45);
}

.topbar-tag {
  color: var(--text-soft);
}

.banner {
  border-color: var(--stroke);
  background: linear-gradient(145deg, #102842de, #0d1f35db);
}

.pill {
  background: #1a3859;
  color: #9fdcff;
}

.banner h1 {
  color: var(--text);
}

.banner p {
  color: var(--text-soft);
}

.banner-metrics article {
  background: #122944;
  border-color: #2e5379;
}

.banner-metrics strong {
  color: #8dd4ff;
}

.banner-metrics span {
  color: #a7bfd8;
}

.banner-right {
  border-color: #34597d;
  background: linear-gradient(155deg, #122945d9, #0f243fd4);
}

.apps {
  border-color: var(--stroke);
  background: var(--surface);
}

.subject-hub {
  border-color: var(--stroke);
  background:
    radial-gradient(circle at 14% 14%, rgba(125, 228, 255, 0.14), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 162, 89, 0.12), transparent 38%),
    var(--surface);
}

.subject-kicker {
  color: #ebffd2;
  border-color: rgba(202, 255, 106, 0.72);
  background: linear-gradient(135deg, rgba(126, 255, 49, 0.25), rgba(53, 109, 12, 0.38));
  box-shadow:
    0 0 0 1px rgba(18, 34, 10, 0.35) inset,
    0 5px 12px rgba(17, 39, 8, 0.26);
}

.subject-head h2 {
  color: #d9ecff;
}

.subject-subtitle {
  color: #a6bfd8;
}

.subject-btn {
  border-color: #365a80;
}

.discipline-nav {
  border-color: var(--stroke);
  background: var(--surface);
}

.apps h2 {
  color: #d9ecff;
}

.search-wrap {
  background: #112741;
  border-color: #355a80;
}

.search-wrap span {
  color: #8fb4d7;
}

.search-wrap input {
  color: #dceeff;
}

.search-wrap input::placeholder {
  color: #86a4c4;
}

.section-back-btn {
  color: #c4e4ff;
  border-color: #416990;
  background: #112a45;
}

.app-card {
  border-color: #34597d;
  background: var(--surface-2);
  box-shadow: 0 12px 26px rgba(2, 10, 22, 0.42);
}

.app-card:hover {
  box-shadow: 0 18px 28px rgba(0, 8, 20, 0.58);
}

.card-body h3 {
  color: #d7ecff;
}

.card-body p {
  color: #a6bfd8;
}

.empty-state {
  border-color: #355a80;
  color: #a6bfd8;
  background: #112641d4;
}

.page-copy {
  text-align: center;
  padding: 0.35rem 0.6rem 0.7rem;
  font-size: 0.74rem;
  color: #8ea8c1;
  opacity: 0.88;
  letter-spacing: 0.02em;
}

.page-copy a {
  color: #a8d4ff;
  text-decoration: none;
}

.page-copy a:hover {
  text-decoration: underline;
}

.page-contact {
  text-align: center;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: #8ea8c1;
  opacity: 0.9;
}

.page-contact a {
  color: #a8d4ff;
  text-decoration: none;
}

.page-contact a:hover {
  text-decoration: underline;
}
