/* Paleta CEEC. Altere aqui para personalizar o portal. */
:root {
  --green: #176749;
  --dark: #103c30;
  --light: #edf5ef;
  --blue: #076d91;
  --violet: #291563;
  --wine: #711f29;
  --ink: #202e29;
}
.enrollment-success { padding-top: 12px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #77b692;
  outline-offset: 3px;
}
.course-price { font-size: 28px; color: var(--green); }
[hidden] { display: none !important; }
#navigationCategories { display: contents; }
.card-bottom a { font-size: 14px; font-weight: bold; color: var(--green); }
.course-subnav button { background: transparent; color: var(--green); padding: 0; }
.course-box .outline { width: 100%; margin-top: 12px; }
.catalog .eyebrow, .section-top .eyebrow, .course-box .eyebrow, .journey .eyebrow { color: var(--green); }
.faq h2:not(:first-child) { margin-top: 40px; }
#count { margin: auto 0 auto auto; }

/* Fotos são elementos HTML: caminhos relativos à página, inclusive em subpastas. */
.hero { background-image: none; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #062d25f5 0%, #082e25d9 26%, #082e2566 48%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}
.hero .wrap { z-index: 2; }
.hero::after { z-index: 1; }
.carousel-arrow, .carousel-controls { z-index: 3; }
@media (max-width: 800px) {
  .hero { background-image: none; }
  .hero-photo { object-position: 63% top; }
  .hero::before { background: linear-gradient(90deg, #062d25f5, #082e25cc 48%, #082e2522); }
}
@media (max-width: 600px) {
  .hero { background-image: none; }
  .hero-photo { object-position: 67% top; }
  .hero::before { background: linear-gradient(90deg, #062d25f5, #082e25df 43%, #082e2570); }
}

/* Detalhe decorativo contido no canto inferior, fora da área dos rostos. */
.hero::after {
  top: auto;
  bottom: -160px;
  right: -175px;
  width: 290px;
  height: 290px;
  border-width: 28px;
  opacity: .55;
  transform: none;
}

/* Dois arcos decorativos maiores, restritos ao canto inferior direito. */
.hero::after {
  width: 330px;
  height: 330px;
  right: -170px;
  bottom: -185px;
  border-width: 30px;
  box-shadow: none;
  outline: 24px solid #17674980;
  outline-offset: 20px;
}

/* Identidade CEEC no rodapé. */
.footer-identity { display: flex; align-items: center; gap: 22px; }
.footer-logo { width: 110px; height: 120px; object-fit: contain; flex-shrink: 0; border-radius: 8px; background: #fff; padding: 5px; }
@media (max-width: 600px) {
  .footer-identity { gap: 15px; }
  .footer-logo { width: 78px; height: 88px; }
}

/* A grade funciona mesmo antes do cadastro das disciplinas. */
.grade-status { padding: 18px; background: var(--light); border-left: 3px solid var(--green); border-radius: 4px; font-weight: 700; }
.course-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.card-bottom .grade-link { text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }

/* Abas do curso: o conteúdo aparece somente na aba selecionada. */
.course-subnav button { padding: 10px 0; border-bottom: 3px solid transparent; }
.course-subnav button.active { border-bottom-color: var(--green); font-weight: 700; }
.course-layout section[role="tabpanel"] > h2:first-child { margin-top: 0; }
