/* SEDUC - HTML/CSS nativo - variáveis e estilos */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(216, 71%, 15%);
  --primary: hsl(213, 85%, 40%);
  --primary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --border: hsl(214, 32%, 91%);
  --radius: 0.5rem;
  --seduc-blue-dark: hsl(216, 71%, 15%);
  --seduc-blue: hsl(213, 85%, 40%);
  --seduc-blue-light: hsl(207, 90%, 54%);
  --seduc-orange: hsl(35, 100%, 55%);
  --seduc-yellow: hsl(45, 100%, 55%);
  --seduc-hero-blue: #013c96;
  --seduc-hero-yellow: #ffb400;
  --seduc-green: hsl(145, 63%, 42%);
  --container-max: 1400px;
  --container-padding: 2rem;
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #ffb400;
  color: var(--foreground);
  min-height: 100vh;
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* TopBar - sem Montserrat */
.topbar,
.topbar * {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

.topbar {
  background: #004aab;
  color: var(--primary-foreground);
  padding: 0.5rem 0;
}

@media (max-width: 480px) {
  .topbar {
    padding: 0.4rem 0;
  }
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
}

@media (max-width: 480px) {
  .topbar-inner {
    padding: 0.35rem 0;
    font-size: 0.8125rem;
    gap: 0.4rem;
  }
}

.btn-ouvidoria {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-foreground);
  background: transparent;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 0.2s,
    background 0.2s;
  min-height: 2.5rem;
}

@media (min-width: 1024px) {
  .btn-ouvidoria {
    font-size: 0.9375rem;
    padding: 0.5625rem 1.5rem;
    min-height: 2.75rem;
  }
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .topbar-right {
    gap: 0.4rem;
  }
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: inherit;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .social-links {
    gap: 0.25rem;
  }

  .social-links a {
    width: 1.75rem;
    height: 1.75rem;
  }

  .social-links svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}

.social-links a:hover {
  opacity: 0.8;
}

.social-links svg {
  width: 1rem;
  height: 1rem;
}

.search-wrap {
  position: relative;
  display: none;
  min-width: 18rem;
}

@media (min-width: 768px) {
  .search-wrap {
    display: block;
  }
}

@media (min-width: 1024px) {
  .search-wrap {
    min-width: 22rem;
  }
}

.search-wrap input {
  background: var(--primary-foreground);
  color: var(--foreground);
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 3rem 0.5rem 0.875rem;
  font-size: 0.875rem;
  width: 100%;
  min-width: 18rem;
  box-sizing: border-box;
  min-height: 2.5rem;
}

@media (min-width: 1024px) {
  .search-wrap input {
    min-width: 22rem;
    padding: 0.5625rem 3.125rem 0.5625rem 1rem;
    font-size: 0.9375rem;
    min-height: 2.75rem;
  }
}

.search-wrap input::placeholder {
  color: var(--muted-foreground);
}

.search-wrap .search-icon-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  border: none;
  border-left: 1px solid var(--border);
  background: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: background 0.2s;
}

.search-wrap .search-icon-wrap:hover {
  background: rgba(0, 0, 0, 0.05);
}

.search-wrap .icon-search {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--muted-foreground);
}

.btn-contatos {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--seduc-yellow);
  color: var(--foreground);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
  min-height: 2.5rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .btn-contatos {
    font-size: 0.6875rem;
    padding: 0.4rem 0.75rem;
    min-height: 2.25rem;
    gap: 0.35rem;
  }
}

@media (min-width: 1024px) {
  .btn-contatos {
    font-size: 0.8125rem;
    padding: 0.5625rem 1.5rem;
    min-height: 2.75rem;
  }
}

.btn-contatos .icon-phone {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-contatos:hover {
  opacity: 0.9;
}

/* NavBar - sem Montserrat */
.navbar,
.navbar * {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

.navbar {
  background: var(--primary-foreground);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  min-width: 0;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding: 0.75rem 0;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.navbar-brand:hover {
  opacity: 0.9;
}

.navbar-logo {
  display: block;
  height: 3.5rem;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 480px) {
  .navbar-logo {
    height: 2.75rem;
    max-width: 180px;
  }

  .navbar-inner {
    padding: 0.5rem 0;
  }
}

@media (min-width: 768px) {
  .navbar-logo {
    height: 4.25rem;
    max-width: 320px;
  }
}

.navbar-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.navbar-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-nav a:hover {
  color: var(--seduc-blue);
}

.navbar-nav .chevron {
  width: 0.875rem;
  height: 0.875rem;
}

/* Hero */
.hero {
  background: var(--background);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 3rem 3rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 3rem 0 4rem;
  text-align: center;
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 2rem 0 3rem;
    gap: 1.75rem;
  }
}

@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    justify-content: center;
    padding: 5rem 0 6rem;
    text-align: left;
  }
}

.hero-logo {
  flex-shrink: 0;
  text-align: center;
  animation: fadeInUp 0.7s ease-out both;
}

.hero-logo-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .hero-logo-img {
    max-height: 180px;
  }
}

.hero-rings {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hero-rings .ring {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 4px solid;
  margin-left: -1rem;
}

.hero-rings .ring:first-child {
  margin-left: 0;
  border-color: #3b82f6;
}

.hero-rings .ring:nth-child(2) {
  border-color: #facc15;
}

.hero-rings .ring:nth-child(3) {
  border-color: #171717;
}

.hero-rings .ring:nth-child(4) {
  border-color: #22c55e;
}

.hero-rings .ring:nth-child(5) {
  border-color: #ef4444;
}

.hero-logo h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--seduc-hero-blue);
}

@media (min-width: 768px) {
  .hero-logo h1 {
    font-size: 3.75rem;
  }
}

.hero-logo .sub {
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
  color: var(--seduc-hero-yellow);
}

@media (min-width: 768px) {
  .hero-logo .sub {
    font-size: 2.25rem;
  }
}

.hero-text {
  max-width: 32rem;
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

@media (max-width: 767px) {
  .hero-text {
    text-align: center;
  }
}

.hero-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--seduc-hero-blue);
}

@media (min-width: 768px) {
  .hero-text h2 {
    font-size: 3rem;
  }
}

.hero-text p {
  font-size: 0.875rem;
  line-height: 1.625;
  margin: 0 0 1.5rem;
  color: #000;
}

@media (min-width: 768px) {
  .hero-text p {
    font-size: 1rem;
  }
}

.btn-saiba {
  background: var(--seduc-blue-dark);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-saiba:hover {
  opacity: 0.9;
}

/* Fases - bg círculos #5ffd00, textos e bolinha brancos, linhas brancas */
.fases {
  padding: 4rem 0;
  background: #ffb400;
}

@media (max-width: 480px) {
  .fases {
    padding: 2.5rem 0;
  }
}

.fases h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin: 0 0 3.5rem;
  animation: fadeIn 0.6s ease-out both;
}

@media (max-width: 480px) {
  .fases h2 {
    font-size: 1.25rem;
    margin: 0 0 2rem;
  }
}

.fases-grid {
  display: grid;
  grid-template-columns: 1fr 1.5rem 1fr;
  gap: 0 1rem;
  row-gap: 1.5rem;
  position: relative;
  align-items: center;
}

@media (max-width: 480px) {
  .fases-grid {
    grid-template-columns: 1fr 0.75rem 1fr;
    gap: 0 0.5rem;
    row-gap: 1.25rem;
  }
}

.fase-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.fase-connector::before {
  content: "";
  width: 2px;
  height: 2.5rem;
  background: #fff;
  border-radius: 1px;
}

@media (max-width: 480px) {
  .fase-connector::before {
    height: 2rem;
  }
}

.fase-connector:last-child {
  display: none;
}

@media (min-width: 768px) {
  .fases-grid {
    grid-template-columns: 1fr 2.5rem 1fr 2.5rem 1fr 2.5rem 1fr;
    gap: 0 0.5rem;
    row-gap: 0;
  }

  .fase-connector::before {
    width: 100%;
    height: 2px;
    max-width: 2.5rem;
    min-width: 1.5rem;
    background: #fff;
  }

  .fase-connector:last-child {
    display: flex;
  }
}

.fase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  animation: fadeInUp 0.5s ease-out both;
}

.fase-item:nth-child(1) {
  animation-delay: 0.05s;
}
.fase-item:nth-child(3) {
  animation-delay: 0.1s;
}
.fase-item:nth-child(5) {
  animation-delay: 0.15s;
}
.fase-item:nth-child(7) {
  animation-delay: 0.2s;
}

.fase-icon-wrap {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  background: #5ffd00;
}

@media (max-width: 480px) {
  .fase-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.5rem;
  }
}

.fase-icon-wrap svg,
.fase-icon-wrap .fase-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: #171717;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .fase-icon-wrap svg,
  .fase-icon-wrap .fase-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.fase-num {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  background: #fff;
  color: #171717;
  font-size: 0.8rem;
  font-weight: 800;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .fase-num {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.7rem;
    top: -0.25rem;
    right: -0.25rem;
  }
}

.fase-item p {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  max-width: 10rem;
  margin: 0;
}

@media (max-width: 480px) {
  .fase-item p {
    font-size: 0.65rem;
    max-width: 6.5rem;
    line-height: 1.25;
  }
}

/* Fases: coluna única em telas muito pequenas */
@media (max-width: 360px) {
  .fases {
    padding: 2rem 0;
  }

  .fases h2 {
    font-size: 1.125rem;
    margin: 0 0 1.5rem;
  }

  .fases-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    gap: 0;
  }

  .fase-connector {
    padding: 0.35rem 0;
    min-height: 0;
  }

  .fase-connector::before {
    width: 2rem;
    height: 2px;
    margin: 0;
  }

  .fase-connector:last-child {
    display: none;
  }

  .fase-item p {
    max-width: 100%;
    font-size: 0.7rem;
  }
}

.fase-icon-wrap.bg-orange,
.fase-icon-wrap.bg-blue,
.fase-icon-wrap.bg-green,
.fase-icon-wrap.bg-blue-dark {
  background: #5ffd00;
}

/* Competitions - mesmo bg de fases */
.competitions {
  padding: 4rem 0;
  background: #ffb400;
}

.competitions-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .competitions-inner {
    gap: 1.25rem;
  }
}

.comp-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1rem;
  width: 160px;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  animation: scaleIn 0.5s ease-out both;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comp-card .comp-card-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 480px) {
  .competitions {
    padding: 2.5rem 0;
  }

  .competitions-inner {
    gap: 0.75rem;
  }

  .comp-card {
    width: 140px;
    min-height: 140px;
  }
}

.comp-card:nth-child(1) {
  animation-delay: 0.05s;
}
.comp-card:nth-child(2) {
  animation-delay: 0.1s;
}
.comp-card:nth-child(3) {
  animation-delay: 0.15s;
}
.comp-card:nth-child(4) {
  animation-delay: 0.2s;
}
.comp-card:nth-child(5) {
  animation-delay: 0.25s;
}

.comp-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (min-width: 768px) {
  .comp-card {
    width: 180px;
    min-height: 180px;
    padding: 1.25rem;
  }

  .comp-card .comp-card-logo {
    width: 95%;
    height: 95%;
  }
}

/* News */
.news {
  padding: 3rem 0;
  background: #ffb400;
}

@media (max-width: 480px) {
  .news {
    padding: 2rem 0;
  }

  .news-item img {
    height: 8rem;
  }

  .news-item-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
  }

  /* No mobile a data fica em fluxo normal acima do título para não sobrepor */
  .news-date {
    position: static;
    font-size: 0.6875rem;
    padding: 0.35rem 0.75rem;
    margin: 0 0 0.5rem;
    align-self: flex-start;
  }

  .news-item h3 {
    font-size: 0.9375rem;
    padding-right: 0;
    margin-top: 0;
  }

  .news-btn-more {
    font-size: 0.8125rem;
    padding: 0.45rem 0.875rem;
  }
}

.news-item {
  display: flex;
  flex-direction: column;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out both;
}

.news-item:nth-child(1) {
  animation-delay: 0.1s;
}
.news-item:nth-child(2) {
  animation-delay: 0.2s;
}

@media (min-width: 768px) {
  .news-item {
    flex-direction: row;
  }
}

.news-item:last-of-type {
  margin-bottom: 0;
}

.news-item img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  flex-shrink: 0;
  border: none;
  outline: none;
  box-shadow: none;
}

@media (min-width: 768px) {
  .news-item img {
    width: 14rem;
    height: auto;
    min-height: 140px;
  }
}

.news-item-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #d7ebff;
  justify-content: space-between;
}

.news-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  background: transparent;
  border: 2px solid var(--seduc-blue);
  border-radius: var(--radius);
}

.news-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
  margin-top: 0.5rem;
  padding-right: 5rem;
  line-height: 1.3;
}

.news-btn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding: 0.5rem 1rem;
  background: #f8bc01;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.news-btn-more:hover {
  opacity: 0.9;
}

.news-btn-more .icon-arrow-right {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Separador: ícone olímpico branco com linhas laterais */
.news-rings-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.5rem 1rem 1rem;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out 0.3s both;
}

@media (max-width: 480px) {
  .news-rings-sep {
    padding: 1.5rem 0.75rem 0.5rem;
    gap: 0.75rem;
  }
}

.news-sep-line {
  flex: 1;
  max-width: 14rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
  .news-sep-line {
    max-width: 4rem;
  }

  .news-rings-icon {
    width: 48px;
    height: 48px;
  }
}

.news-rings-icon {
  display: block;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Editais */
.editais {
  padding: 3rem 0;
  background: var(--muted);
}

@media (max-width: 480px) {
  .editais {
    padding: 2rem 0;
  }

  .editais h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .edital-item {
    padding: 1rem 1rem 1rem 1.25rem;
  }

  .edital-item p {
    font-size: 0.875rem;
  }
}

.editais h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 2rem;
}

.edital-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  background: var(--background);
  border-radius: 0.75rem;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.2s;
  margin-bottom: 1rem;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out both;
}

.edital-item:nth-child(2) {
  animation-delay: 0.08s;
}
.edital-item:nth-child(3) {
  animation-delay: 0.16s;
}

.edital-item:last-child {
  margin-bottom: 0;
}

.edital-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.edital-item .bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  flex-shrink: 0;
}

.edital-item:nth-child(2) .bar {
  background: #1a4685;
}

.edital-item:nth-child(3) .bar {
  background: #edaf36;
}

.edital-item:nth-child(4) .bar {
  background: #26713b;
}

.edital-item:nth-child(5) .bar {
  background: #da402d;
}

.edital-item:nth-child(6) .bar {
  background: #000000;
}

.edital-item p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.5;
  margin: 0;
}

/* Calendar - tema azul com linhas claras e eventos em pílula */
.calendar-section {
  padding: 4rem 0;
  background: var(--seduc-blue);
}

.calendar-section h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-foreground);
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
}

.calendar-section .month {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem;
}

.calendar-wrap {
  --cal-bg: #1a3db8;
  --cal-line: #79ecf7;
  --cal-text: #79ecf7;
  background: var(--cal-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  border: 1px solid var(--cal-line);
}

@media (min-width: 768px) {
  .calendar-wrap {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) {
  .calendar-wrap {
    max-width: 80rem;
  }
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--cal-bg);
  border-bottom: 1px solid var(--cal-line);
}

.calendar-header div {
  text-align: center;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--cal-text);
  letter-spacing: 0.02em;
}

.calendar-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--cal-line);
}

.calendar-week:last-child {
  border-bottom: none;
}

.calendar-day {
  position: relative;
  padding: 0.5rem;
  min-height: 0;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  border-right: 1px solid var(--cal-line);
  background: var(--cal-bg);
}

.calendar-day:nth-child(7n) {
  border-right: none;
}

.calendar-day--event {
  align-items: stretch;
}

/* Legenda de eventos (visível só em telas pequenas) */
.calendar-legend {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 0;
}

.calendar-legend-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin: 0 0 0.75rem;
}

.calendar-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.calendar-legend-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.calendar-legend-list li:last-child {
  margin-bottom: 0;
}

.calendar-legend-dot {
  flex-shrink: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.calendar-legend-dot--yellow {
  background: #ffe600;
}

.calendar-legend-dot--green {
  background: #7bff07;
}

@media (max-width: 768px) {
  .calendar-legend {
    display: block;
  }

  /* Em telas pequenas: na célula só um indicador (bolinha), texto do evento na legenda */
  .calendar-day .highlight span {
    display: none;
  }

  .calendar-day .highlight {
    width: 0.5rem;
    min-width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border-radius: 50%;
    margin-top: 0.15rem;
  }
}

@media (max-width: 480px) {
  .calendar-section {
    padding: 2.5rem 0;
  }

  .calendar-section h2 {
    font-size: 1.5rem;
  }

  .calendar-section .month {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .calendar-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .calendar-header,
  .calendar-week {
    min-width: 260px;
  }

  .calendar-header div {
    padding: 0.35rem 0.2rem;
    font-size: 0.6rem;
  }

  .calendar-day {
    padding: 0.2rem;
    min-height: 0;
  }

  .calendar-day .day-num {
    font-size: 0.7rem;
  }
}

@media (min-width: 768px) {
  .calendar-day {
    padding: 0.5rem 0.75rem;
  }
}

.calendar-day.empty {
  background: rgba(121, 236, 247, 0.08);
}

.calendar-day.other-month .day-num {
  color: rgba(121, 236, 247, 0.5);
}

.calendar-day .day-num {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--cal-text);
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.calendar-day--event .day-num {
  margin-bottom: 0.35rem;
}

/* Eventos em formato de pílula (abaixo do número) */
.calendar-day .highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.calendar-day .highlight--yellow {
  background: #ffe600;
}

.calendar-day .highlight--green {
  background: #7bff07;
}

.calendar-day .highlight span {
  font-size: 9px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .calendar-day .highlight {
    padding: 0.4rem 0.75rem;
  }

  .calendar-day .highlight span {
    font-size: 11px;
  }
}

@media (min-width: 1024px) {
  .calendar-section {
    padding: 5rem 0;
  }

  .calendar-section h2 {
    font-size: 2.75rem;
  }

  .calendar-section .month {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
  }

  .calendar-header div {
    padding: 1rem;
    font-size: 1rem;
  }

  .calendar-day {
    padding: 0.75rem 1rem;
  }

  .calendar-day .day-num {
    font-size: 1rem;
  }

  .calendar-day .highlight {
    padding: 0.5rem 1rem;
  }

  .calendar-day .highlight span {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Olimpiadas */
.olimpiadas {
  padding: 4rem 0;
  background: #ffb400;
}

@media (max-width: 480px) {
  .olimpiadas {
    padding: 2.5rem 0;
  }

  .olimpiadas-grid {
    gap: 1.25rem;
  }

  .olimpiadas-card {
    padding: 1.5rem;
  }

  .olimpiadas-card h3 {
    font-size: 1rem;
  }

  .olimpiadas-card p {
    font-size: 0.8125rem;
  }

  .olimpiadas-card-icon {
    width: 5rem;
    height: 5rem;
    margin-bottom: 0.75rem;
  }
}

.olimpiadas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .olimpiadas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.olimpiadas-card {
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  color: var(--primary-foreground);
  cursor: pointer;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

@media (min-width: 768px) {
  .olimpiadas-card {
    padding: 2.5rem;
  }
}

.olimpiadas-card:hover {
  transform: scale(1.05);
}

.olimpiadas-card.card-orange {
  background: var(--seduc-orange);
}

.olimpiadas-card.card-blue {
  background: var(--seduc-blue);
}

.olimpiadas-card .brazil-map {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 1rem;
  color: #86efac;
  opacity: 0.8;
}

.olimpiadas-card-icon {
  display: block;
  width: 7rem;
  height: 7rem;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.olimpiadas-card-icon--green {
  filter: brightness(0) saturate(100%) invert(62%) sepia(98%) saturate(465%)
    hue-rotate(87deg);
}

.olimpiadas-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.olimpiadas-card p {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

/* Footer */
.footer {
  width: 100%;
  overflow: hidden;
}

.footer-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Respeitar preferência de redução de movimento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.card_olimpiadas{
  margin: 10px 0px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 24px;
}

.card_olimpiadas .data{
  color: #606060;
}



.card_olimpiadas div button{
  width: auto !important;
}

.card_olimpiadas button img{
  margin-right: 8px;
}

.justificado {
  text-align: justify;
}

.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem; }

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #7c8a96;
  background-color: #fff;
  border: 1px solid #d7dce1; }
  .page-link:hover {
    z-index: 2;
    color: #1e6d50;
    text-decoration: none;
    background-color: #eff2f7;
    border-color: #d7dce1; }
  .page-link:focus {
    z-index: 3;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(47, 169, 124, 0.25);
            box-shadow: 0 0 0 0.15rem rgba(47, 169, 124, 0.25); }

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem; }

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem; }

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #2fa97c;
  border-color: #2fa97c; }

.page-item.disabled .page-link {
  color: #7c8a96;
  pointer-events: none;
  cursor: auto;
  background-color: #f8f9fa;
  border-color: #d7dce1; }

.pagination-lg .page-link {
  padding: 0.75rem 1.5rem;
  font-size: 1.1375rem;
  line-height: 1.5; }

.pagination-lg .page-item:first-child .page-link {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem; }

.pagination-lg .page-item:last-child .page-link {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem; }

.pagination-sm .page-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.79625rem;
  line-height: 1.5; }

.pagination-sm .page-item:first-child .page-link {
  border-top-left-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem; }

.pagination-sm .page-item:last-child .page-link {
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem; }

  .btn {
  display: inline-block;
  font-weight: 500;
  color: #505d69;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.47rem 0.75rem;
  font-size: 0.91rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; }
  @media (prefers-reduced-motion: reduce) {
    .btn {
      -webkit-transition: none;
      transition: none; } }
  .btn:hover {
    color: #505d69;
    text-decoration: none; }
  .btn:focus, .btn.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(47, 169, 124, 0.25);
            box-shadow: 0 0 0 0.15rem rgba(47, 169, 124, 0.25); }
  .btn.disabled, .btn:disabled {
    opacity: 0.65; }

a.btn.disabled,
fieldset:disabled a.btn {
  pointer-events: none; }

.btn-primary {
  color: #fff;
  background-color: #2fa97c;
  border-color: #2fa97c; }
  .btn-primary:hover {
    color: #fff;
    background-color: #278b66;
    border-color: #24815f; }
  .btn-primary:focus, .btn-primary.focus {
    color: #fff;
    background-color: #278b66;
    border-color: #24815f;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(78, 182, 144, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(78, 182, 144, 0.5); }
  .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #2fa97c;
    border-color: #2fa97c; }
  .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
  .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #24815f;
    border-color: #217757; }
    .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-primary.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(78, 182, 144, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(78, 182, 144, 0.5); }

.btn-secondary {
  color: #fff;
  background-color: #7c8a96;
  border-color: #7c8a96; }
  .btn-secondary:hover {
    color: #fff;
    background-color: #697783;
    border-color: #63707c; }
  .btn-secondary:focus, .btn-secondary.focus {
    color: #fff;
    background-color: #697783;
    border-color: #63707c;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(144, 156, 166, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(144, 156, 166, 0.5); }
  .btn-secondary.disabled, .btn-secondary:disabled {
    color: #fff;
    background-color: #7c8a96;
    border-color: #7c8a96; }
  .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
  .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #63707c;
    border-color: #5e6a75; }
    .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-secondary.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(144, 156, 166, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(144, 156, 166, 0.5); }

.btn-success {
  color: #fff;
  background-color: #3051D3;
  border-color: #3051D3; }
  .btn-success:hover {
    color: #fff;
    background-color: #2744b6;
    border-color: #2440ac; }
  .btn-success:focus, .btn-success.focus {
    color: #fff;
    background-color: #2744b6;
    border-color: #2440ac;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(79, 107, 218, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(79, 107, 218, 0.5); }
  .btn-success.disabled, .btn-success:disabled {
    color: #fff;
    background-color: #3051D3;
    border-color: #3051D3; }
  .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
  .show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #2440ac;
    border-color: #223ca1; }
    .btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,
    .show > .btn-success.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(79, 107, 218, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(79, 107, 218, 0.5); }

.btn-info {
  color: #fff;
  background-color: #00A7E1;
  border-color: #00A7E1; }
  .btn-info:hover {
    color: #fff;
    background-color: #008bbb;
    border-color: #0081ae; }
  .btn-info:focus, .btn-info.focus {
    color: #fff;
    background-color: #008bbb;
    border-color: #0081ae;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(38, 180, 230, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(38, 180, 230, 0.5); }
  .btn-info.disabled, .btn-info:disabled {
    color: #fff;
    background-color: #00A7E1;
    border-color: #00A7E1; }
  .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
  .show > .btn-info.dropdown-toggle {
    color: #fff;
    background-color: #0081ae;
    border-color: #0078a1; }
    .btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,
    .show > .btn-info.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(38, 180, 230, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(38, 180, 230, 0.5); }

.btn-warning {
  color: #fff;
  background-color: #e4cc37;
  border-color: #e4cc37; }
  .btn-warning:hover {
    color: #fff;
    background-color: #d8be1d;
    border-color: #ccb41c; }
  .btn-warning:focus, .btn-warning.focus {
    color: #fff;
    background-color: #d8be1d;
    border-color: #ccb41c;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(232, 212, 85, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(232, 212, 85, 0.5); }
  .btn-warning.disabled, .btn-warning:disabled {
    color: #fff;
    background-color: #e4cc37;
    border-color: #e4cc37; }
  .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
  .show > .btn-warning.dropdown-toggle {
    color: #fff;
    background-color: #ccb41c;
    border-color: #c1aa1a; }
    .btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,
    .show > .btn-warning.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(232, 212, 85, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(232, 212, 85, 0.5); }

.btn-danger {
  color: #fff;
  background-color: #F06543;
  border-color: #F06543; }
  .btn-danger:hover {
    color: #fff;
    background-color: #ed4820;
    border-color: #ec3e14; }
  .btn-danger:focus, .btn-danger.focus {
    color: #fff;
    background-color: #ed4820;
    border-color: #ec3e14;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(242, 124, 95, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(242, 124, 95, 0.5); }
  .btn-danger.disabled, .btn-danger:disabled {
    color: #fff;
    background-color: #F06543;
    border-color: #F06543; }
  .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
  .show > .btn-danger.dropdown-toggle {
    color: #fff;
    background-color: #ec3e14;
    border-color: #e13b12; }
    .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
    .show > .btn-danger.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(242, 124, 95, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(242, 124, 95, 0.5); }

.btn-light {
  color: #212529;
  background-color: #eff2f7;
  border-color: #eff2f7; }
  .btn-light:hover {
    color: #212529;
    background-color: #d6ddea;
    border-color: #cdd6e6; }
  .btn-light:focus, .btn-light.focus {
    color: #212529;
    background-color: #d6ddea;
    border-color: #cdd6e6;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(208, 211, 216, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(208, 211, 216, 0.5); }
  .btn-light.disabled, .btn-light:disabled {
    color: #212529;
    background-color: #eff2f7;
    border-color: #eff2f7; }
  .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
  .show > .btn-light.dropdown-toggle {
    color: #212529;
    background-color: #cdd6e6;
    border-color: #c5cfe2; }
    .btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,
    .show > .btn-light.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(208, 211, 216, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(208, 211, 216, 0.5); }

.btn-dark {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40; }
  .btn-dark:hover {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124; }
  .btn-dark:focus, .btn-dark.focus {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(82, 88, 93, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(82, 88, 93, 0.5); }
  .btn-dark.disabled, .btn-dark:disabled {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40; }
  .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
  .show > .btn-dark.dropdown-toggle {
    color: #fff;
    background-color: #1d2124;
    border-color: #171a1d; }
    .btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,
    .show > .btn-dark.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(82, 88, 93, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(82, 88, 93, 0.5); }

.btn-outline-primary {
  color: #2fa97c;
  border-color: #2fa97c; }
  .btn-outline-primary:hover {
    color: #fff;
    background-color: #2fa97c;
    border-color: #2fa97c; }
  .btn-outline-primary:focus, .btn-outline-primary.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(47, 169, 124, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(47, 169, 124, 0.5); }
  .btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: #2fa97c;
    background-color: transparent; }
  .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
  .show > .btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #2fa97c;
    border-color: #2fa97c; }
    .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-outline-primary.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(47, 169, 124, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(47, 169, 124, 0.5); }

.btn-outline-secondary {
  color: #7c8a96;
  border-color: #7c8a96; }
  .btn-outline-secondary:hover {
    color: #fff;
    background-color: #7c8a96;
    border-color: #7c8a96; }
  .btn-outline-secondary:focus, .btn-outline-secondary.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(124, 138, 150, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(124, 138, 150, 0.5); }
  .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
    color: #7c8a96;
    background-color: transparent; }
  .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
  .show > .btn-outline-secondary.dropdown-toggle {
    color: #fff;
    background-color: #7c8a96;
    border-color: #7c8a96; }
    .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-outline-secondary.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(124, 138, 150, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(124, 138, 150, 0.5); }

.btn-outline-success {
  color: #3051D3;
  border-color: #3051D3; }
  .btn-outline-success:hover {
    color: #fff;
    background-color: #3051D3;
    border-color: #3051D3; }
  .btn-outline-success:focus, .btn-outline-success.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(48, 81, 211, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(48, 81, 211, 0.5); }
  .btn-outline-success.disabled, .btn-outline-success:disabled {
    color: #3051D3;
    background-color: transparent; }
  .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,
  .show > .btn-outline-success.dropdown-toggle {
    color: #fff;
    background-color: #3051D3;
    border-color: #3051D3; }
    .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus,
    .show > .btn-outline-success.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(48, 81, 211, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(48, 81, 211, 0.5); }

.btn-outline-info {
  color: #00A7E1;
  border-color: #00A7E1; }
  .btn-outline-info:hover {
    color: #fff;
    background-color: #00A7E1;
    border-color: #00A7E1; }
  .btn-outline-info:focus, .btn-outline-info.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(0, 167, 225, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(0, 167, 225, 0.5); }
  .btn-outline-info.disabled, .btn-outline-info:disabled {
    color: #00A7E1;
    background-color: transparent; }
  .btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,
  .show > .btn-outline-info.dropdown-toggle {
    color: #fff;
    background-color: #00A7E1;
    border-color: #00A7E1; }
    .btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus,
    .show > .btn-outline-info.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(0, 167, 225, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(0, 167, 225, 0.5); }

.btn-outline-warning {
  color: #e4cc37;
  border-color: #e4cc37; }
  .btn-outline-warning:hover {
    color: #fff;
    background-color: #e4cc37;
    border-color: #e4cc37; }
  .btn-outline-warning:focus, .btn-outline-warning.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(228, 204, 55, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(228, 204, 55, 0.5); }
  .btn-outline-warning.disabled, .btn-outline-warning:disabled {
    color: #e4cc37;
    background-color: transparent; }
  .btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active,
  .show > .btn-outline-warning.dropdown-toggle {
    color: #fff;
    background-color: #e4cc37;
    border-color: #e4cc37; }
    .btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus,
    .show > .btn-outline-warning.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(228, 204, 55, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(228, 204, 55, 0.5); }

.btn-outline-danger {
  color: #F06543;
  border-color: #F06543; }
  .btn-outline-danger:hover {
    color: #fff;
    background-color: #F06543;
    border-color: #F06543; }
  .btn-outline-danger:focus, .btn-outline-danger.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(240, 101, 67, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(240, 101, 67, 0.5); }
  .btn-outline-danger.disabled, .btn-outline-danger:disabled {
    color: #F06543;
    background-color: transparent; }
  .btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active,
  .show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #F06543;
    border-color: #F06543; }
    .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus,
    .show > .btn-outline-danger.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(240, 101, 67, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(240, 101, 67, 0.5); }

.btn-outline-light {
  color: #eff2f7;
  border-color: #eff2f7; }
  .btn-outline-light:hover {
    color: #212529;
    background-color: #eff2f7;
    border-color: #eff2f7; }
  .btn-outline-light:focus, .btn-outline-light.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(239, 242, 247, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(239, 242, 247, 0.5); }
  .btn-outline-light.disabled, .btn-outline-light:disabled {
    color: #eff2f7;
    background-color: transparent; }
  .btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active,
  .show > .btn-outline-light.dropdown-toggle {
    color: #212529;
    background-color: #eff2f7;
    border-color: #eff2f7; }
    .btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus,
    .show > .btn-outline-light.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(239, 242, 247, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(239, 242, 247, 0.5); }

.btn-outline-dark {
  color: #343a40;
  border-color: #343a40; }
  .btn-outline-dark:hover {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40; }
  .btn-outline-dark:focus, .btn-outline-dark.focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(52, 58, 64, 0.5);
            box-shadow: 0 0 0 0.15rem rgba(52, 58, 64, 0.5); }
  .btn-outline-dark.disabled, .btn-outline-dark:disabled {
    color: #343a40;
    background-color: transparent; }
  .btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active,
  .show > .btn-outline-dark.dropdown-toggle {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40; }
    .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus,
    .show > .btn-outline-dark.dropdown-toggle:focus {
      -webkit-box-shadow: 0 0 0 0.15rem rgba(52, 58, 64, 0.5);
              box-shadow: 0 0 0 0.15rem rgba(52, 58, 64, 0.5); }

.btn-link {
  font-weight: 500;
  color: #2fa97c;
  text-decoration: none; }
  .btn-link:hover {
    color: #1e6d50;
    text-decoration: underline; }
  .btn-link:focus, .btn-link.focus {
    text-decoration: underline;
    -webkit-box-shadow: none;
            box-shadow: none; }
  .btn-link:disabled, .btn-link.disabled {
    color: #7c8a96;
    pointer-events: none; }

.btn-lg, .btn-group-lg > .btn {
  padding: 0.5rem 1rem;
  font-size: 1.1375rem;
  line-height: 1.5;
  border-radius: 0.5rem; }

.btn-sm, .btn-group-sm > .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.79625rem;
  line-height: 1.5;
  border-radius: 0.2rem; }

.btn-block {
  display: block;
  width: 100%; }
  .btn-block + .btn-block {
    margin-top: 0.5rem; }

* =============================================
   ESTILOS BASE (PADRÃO BOOTSTRAP 5.3)
   ============================================= */

/* 
   Configuração raiz para a Navbar
   O Bootstrap 5.3 utiliza CSS Variables no .navbar por padrão.
   Estamos sobrescrevendo as variáveis para se adequarem à identidade visual da SEDUC.
*/
:root {
    --bs-navbar-padding-y: 0.5rem;
    --bs-navbar-padding-x: 1rem;
    --bs-navbar-brand-color: #ffffff;
    --bs-navbar-brand-hover-color: #ffde59;
    --bs-navbar-nav-link-padding-x: 0.5rem;
    --bs-navbar-link-color: rgba(255, 255, 255, 0.85);
    --bs-navbar-link-hover-color: #ffde59;
    --bs-navbar-active-color: #ffffff;
    --bs-navbar-disabled-color: rgba(255, 255, 255, 0.5);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.3);
    --bs-navbar-toggler-focus-width: 0.25rem;
    --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
}

/* Classe base obrigatória para qualquer navbar */
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--bs-navbar-padding-y);
    padding-right: var(--bs-navbar-padding-x);
    padding-bottom: var(--bs-navbar-padding-y);
    padding-left: var(--bs-navbar-padding-x);
}

/* Comportamento responsivo (ponto de quebra large) */
.navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
}

/* Container interno para alinhamento correto */
.container-fluid {
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

/* =============================================
   ESTILOS PERSONALIZADOS (IDENTIDADE SEDUC)
   ============================================= */

/*
   Classe bg-custom-navbar (Background Institucional)
   - Substitui o antigo bg-light ou navbar-light
   - Usamos cores sólidas com leve gradiente para sofisticação
   - Box-shadow para dar profundidade (padrão material design)
*/
.bg-custom-navbar {
    /* Gradiente institucional: Azul SEDUC -> Azul mais escuro */
    background: linear-gradient(135deg, #0066a0 0%, #004d7a 100%);
    
    /* Sombra suave para destacar do conteúdo (padrão Bootstrap 5) */
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    
    /* Importante para o modo escuro nativo do BS5 */
    color-scheme: dark;
}

/* 
   TEMA ESCURO (Dark Mode) via atributo data-bs-theme
   Mantém a consistência visual mesmo em temas escuros do sistema
*/
.bg-custom-navbar[data-bs-theme="dark"] {
    background: linear-gradient(135deg, #001f3f 0%, #000814 100%);
}

/* =============================================
   COMPONENTES INTERNOS (Links, Botões, Dropdowns)
   ============================================= */

/* Marca/Logo */
.bg-custom-navbar .navbar-brand {
    color: var(--bs-navbar-brand-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-right: 1rem;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.bg-custom-navbar .navbar-brand:hover,
.bg-custom-navbar .navbar-brand:focus {
    color: var(--bs-navbar-brand-hover-color);
}

/* Links de Navegação */
.bg-custom-navbar .navbar-nav .nav-link {
    color: var(--bs-navbar-link-color);
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    position: relative;
}

/* Efeito Hover com transformação leve */
.bg-custom-navbar .navbar-nav .nav-link:hover,
.bg-custom-navbar .navbar-nav .nav-link:focus {
    color: var(--bs-navbar-link-hover-color);
    transform: translateY(-1px);
}

/* Link Ativo (Página atual) */
.bg-custom-navbar .navbar-nav .nav-link.active {
    color: var(--bs-navbar-active-color);
    font-weight: 600;
}

/* Link Desabilitado */
.bg-custom-navbar .navbar-nav .nav-link.disabled {
    color: var(--bs-navbar-disabled-color);
    pointer-events: none;
    opacity: 0.6;
}

/* =============================================
   BOTÃO TOGGLER (Menu Hamburguer)
   ============================================= */

/* Botão que aparece em telas menores */
.bg-custom-navbar .navbar-toggler {
    border: 1px solid var(--bs-navbar-toggler-border-color);
    border-radius: 0.375rem;
    padding: 0.25rem 0.75rem;
    transition: var(--bs-navbar-toggler-transition);
}

.bg-custom-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width) rgba(255, 255, 255, 0.25);
    outline: 0;
}

/* Ícone do Toggler (substitui o padrão escuro pelo branco) */
.bg-custom-navbar .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
}

/* =============================================
   COLLAPSE (Área que expande/colapsa)
   ============================================= */

/* Wrapper do conteúdo que será colapsado em telas pequenas */
.bg-custom-navbar .collapse.navbar-collapse {
    flex-grow: 1;
    align-items: center;
}

/* Quando a navbar está expandida (LG), remove o scroll vertical */
@media (min-width: 992px) {
    .bg-custom-navbar .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}

/* =============================================
   DROPDOWNS (Menus Suspensos)
   ============================================= */

/* Item do dropdown */
.bg-custom-navbar .dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 0.25rem;
    padding: 0.5rem 0;
}

/* Links dentro do dropdown */
.bg-custom-navbar .dropdown-item {
    color: #1e2a3e;
    font-weight: 400;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.bg-custom-navbar .dropdown-item:hover,
.bg-custom-navbar .dropdown-item:focus {
    background-color: #f0f7ff;
    color: #0066a0;
    padding-left: 1.75rem;
    /* Efeito de deslocamento suave */
}

/* =============================================
   FORMULÁRIOS (Busca, etc)
   ============================================= */

/* Classes padrão BS5 para formulários na navbar */
.bg-custom-navbar .d-flex {
    display: flex !important;
}

.bg-custom-navbar .form-control {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
}

.bg-custom-navbar .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffde59;
    box-shadow: 0 0 0 0.25rem rgba(255, 222, 89, 0.25);
    color: #ffffff;
}

.bg-custom-navbar .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.bg-custom-navbar .btn-outline-success {
    color: #ffde59;
    border-color: #ffde59;
}

.bg-custom-navbar .btn-outline-success:hover {
    background-color: #ffde59;
    color: #004d7a;
}

/* =============================================
   TEXTOS E ELEMENTOS AUXILIARES
   ============================================= */

/* Texto comum dentro da navbar */
.bg-custom-navbar .navbar-text {
    color: rgba(255, 255, 255, 0.75);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Links dentro de texto */
.bg-custom-navbar .navbar-text a {
    color: #ffde59;
    text-decoration: none;
}

.bg-custom-navbar .navbar-text a:hover {
    text-decoration: underline;
}

/* =============================================
   DROPDOWN SUBMENU FOR NAVIGATION
   ============================================= */

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.submenu a:last-child {
  border-bottom: none;
}

.submenu a:hover {
  background-color: var(--muted);
  color: var(--primary);
}

/* Arrow icon for dropdown */
.nav-link img {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link img {
  transform: rotate(180deg);
}