:root {
  --bg: #031845;
  --bg-2: #092861;
  --surface: #ffffff;
  --surface-soft: #f4f8ff;
  --text: #0b1733;
  --muted: #55617d;
  --green: #57be42;
  --green-2: #2d8f31;
  --blue: #0a2f75;
  --line: #dde7fa;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(3, 24, 69, 0.15);
  --header-offset: 86px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Manrope, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, #1e4aa1 0%, transparent 50%), linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
  overflow-x: hidden;
  position: relative;
  padding-top: var(--header-offset);
}

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.section {
  padding: 72px 0;
  position: relative;
}
.section[id] { scroll-margin-top: var(--header-offset); }
#topo { scroll-margin-top: 0; }
.has-bg-icons {
  position: relative;
  overflow: hidden;
}

.has-bg-icons > .container {
  position: relative;
  z-index: 2;
}

.section-floating-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.section-floating-icons i {
  position: absolute;
  color: rgba(35, 77, 145, 0.12);
  filter: drop-shadow(0 8px 16px rgba(4, 23, 58, 0.08));
}

.section-floating-icons .icon-a { top: 14%; left: 8%; font-size: 44px; }
.section-floating-icons .icon-b { top: 46%; right: 10%; font-size: 54px; }
.section-floating-icons .icon-c { bottom: 12%; left: 38%; font-size: 48px; }

/* Ajustes por seção */
.icons-inscricoes i { color: rgba(50, 138, 74, 0.14); }
.icons-regulamento i { color: rgba(37, 77, 144, 0.13); }
.icons-documentacao i { color: rgba(44, 115, 176, 0.13); }
.icons-faq i { color: rgba(28, 148, 170, 0.16); }
.icons-categorias i { color: rgba(55, 141, 72, 0.14); }
.icons-cronograma i { color: rgba(74, 110, 178, 0.14); }
.icons-avaliacao i { color: rgba(200, 146, 22, 0.16); }
.icons-local i { color: rgba(189, 64, 56, 0.12); }
.icons-equipe i { color: rgba(47, 104, 181, 0.13); }
.icons-contato i { color: rgba(182, 219, 255, 0.18); }

/* Variações de posição para quebrar repetição */
.icons-faq .icon-a { top: 20%; left: 6%; }
.icons-faq .icon-b { top: 34%; right: 14%; }
.icons-faq .icon-c { bottom: 16%; left: 48%; }
.icons-cronograma .icon-a { top: 18%; left: 10%; }
.icons-cronograma .icon-b { top: 50%; right: 12%; }
.icons-cronograma .icon-c { bottom: 16%; left: 30%; }
.icons-contato .icon-a { top: 18%; left: 7%; }
.icons-contato .icon-b { top: 44%; right: 11%; }
.icons-contato .icon-c { bottom: 14%; left: 45%; }

/* Três seções com ícones "vagando" */
.drifting-icons .icon-a { animation: float-drift-a 5s ease-in-out infinite; }
.drifting-icons .icon-b { animation: float-drift-b 6s ease-in-out infinite; }
.drifting-icons .icon-c { animation: float-drift-c 5.5s ease-in-out infinite; }

@keyframes float-drift-a {
  0% { transform: translate(0, 0) rotate(-2deg); }
  25% { transform: translate(18px, -14px) rotate(5deg); }
  50% { transform: translate(4px, -30px) rotate(2deg); }
  75% { transform: translate(-16px, -8px) rotate(-4deg); }
  100% { transform: translate(0, 0) rotate(-2deg); }
}

@keyframes float-drift-b {
  0% { transform: translate(0, 0) rotate(3deg); }
  25% { transform: translate(-22px, 10px) rotate(-4deg); }
  50% { transform: translate(-8px, 24px) rotate(-1deg); }
  75% { transform: translate(14px, 12px) rotate(4deg); }
  100% { transform: translate(0, 0) rotate(3deg); }
}

@keyframes float-drift-c {
  0% { transform: translate(0, 0) rotate(-1deg); }
  25% { transform: translate(16px, 14px) rotate(4deg); }
  50% { transform: translate(30px, 2px) rotate(8deg); }
  75% { transform: translate(10px, -16px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(-1deg); }
}
.section h2 {
  font-family: Sora, sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  margin: 0 0 24px;
}

/* Brilho em tópicos/títulos */
.hero h1,
.section h2,
.card h3,
.criteria-card h4 {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(120, 170, 255, 0.25),
    0 0 20px rgba(120, 170, 255, 0.15);
}

.hero h1 {
  background: linear-gradient(95deg, #ffffff 0%, #dff0ff 38%, #9fd3ff 70%, #77b6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section h2,
.card h3,
.criteria-card h4 {
  background: linear-gradient(95deg, #101318 0%, #1a1f29 58%, #2a3447 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 i,
h3 i,
summary i,
.list-panel a i,
.timeline li i {
  margin-right: 8px;
  color: #1f4c9a;
}

.fa-whatsapp { color: #25d366; }
.fa-instagram {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.fa-envelope { color: #ea4335; }
.fa-map-pin,
.fa-location-dot,
.fa-map-location-dot { color: #e53935; }

.fa-file-pdf { color: #e53935; }
.fa-file-word { color: #2b579a; }
.fa-file-powerpoint { color: #d24726; }
.fa-file-lines,
.fa-clipboard-check { color: #2e7d32; }

.fa-microchip { color: #0a8f60; }
.fa-square-root-variable { color: #6a1b9a; }
.fa-language { color: #1565c0; }
.fa-leaf { color: #2e7d32; }
.fa-landmark { color: #8d6e63; }

.fa-medal,
.fa-trophy,
.fa-award { color: #f9a825; }
.fa-circle-question { color: #00acc1; }
.fa-circle-check { color: #2e7d32; }
.fa-circle-xmark { color: #d32f2f; }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bg);
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--green), #7fdb5c);
  color: var(--bg);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-family: Sora, sans-serif;
}

.brand strong { display: block; font-family: Sora, sans-serif; font-size: .95rem; color: var(--bg); }
.brand-year { color: var(--green); }
.brand small { display: block; font-size: .72rem; color: #35507f; }

.menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 620px;
}

.menu a {
  color: var(--bg);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .86rem;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  transform: scaleX(0.2);
  transform-origin: left center;
  opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.menu a:hover { color: var(--bg); }
.menu a.active { background: transparent; color: var(--bg); }

.menu-toggle {
  display: none;
  border: 1px solid #9bb0d8;
  color: var(--bg);
  background: transparent;
  border-radius: 10px;
  padding: 6px 10px;
}

.hero {
  color: #fff;
  background: linear-gradient(130deg, var(--bg) 0%, var(--bg-2) 55%, #12398d 100%);
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-floating-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-floating-icons i {
  position: absolute;
  color: rgba(210, 231, 255, 0.2);
  filter: drop-shadow(0 8px 16px rgba(8, 27, 64, 0.25));
}

.hero-floating-icons .icon-1 { font-size: 52px; top: 16%; left: 8%; transform: rotate(-14deg); }
.hero-floating-icons .icon-2 { font-size: 48px; top: 22%; left: 27%; transform: rotate(9deg); }
.hero-floating-icons .icon-3 { font-size: 42px; top: 11%; right: 16%; transform: rotate(12deg); }
.hero-floating-icons .icon-4 { font-size: 54px; top: 48%; right: 9%; transform: rotate(-10deg); }
.hero-floating-icons .icon-5 { font-size: 40px; bottom: 22%; left: 14%; transform: rotate(7deg); }
.hero-floating-icons .icon-6 { font-size: 44px; bottom: 14%; left: 36%; transform: rotate(-8deg); }
.hero-floating-icons .icon-7 { font-size: 46px; bottom: 26%; right: 27%; transform: rotate(11deg); }
.hero-floating-icons .icon-8 { font-size: 50px; top: 37%; left: 52%; transform: rotate(-6deg); }

.hero.drifting-icons .hero-floating-icons .icon-1 { animation: float-drift-a 6s ease-in-out infinite; }
.hero.drifting-icons .hero-floating-icons .icon-2 { animation: float-drift-b 6.5s ease-in-out infinite; }
.hero.drifting-icons .hero-floating-icons .icon-3 { animation: float-drift-c 5.8s ease-in-out infinite; }
.hero.drifting-icons .hero-floating-icons .icon-4 { animation: float-drift-a 5.5s ease-in-out infinite reverse; }
.hero.drifting-icons .hero-floating-icons .icon-5 { animation: float-drift-b 6.2s ease-in-out infinite reverse; }
.hero.drifting-icons .hero-floating-icons .icon-6 { animation: float-drift-c 5.6s ease-in-out infinite; }
.hero.drifting-icons .hero-floating-icons .icon-7 { animation: float-drift-a 6.3s ease-in-out infinite; }
.hero.drifting-icons .hero-floating-icons .icon-8 { animation: float-drift-b 5.9s ease-in-out infinite; }

@media (max-width: 980px) {
  .hero-floating-icons i {
    opacity: .75;
  }

  .hero-floating-icons .icon-1 { font-size: 34px; top: 18%; left: 6%; }
  .hero-floating-icons .icon-2 { font-size: 30px; top: 16%; left: 38%; }
  .hero-floating-icons .icon-3 { font-size: 28px; top: 10%; right: 8%; }
  .hero-floating-icons .icon-4 { font-size: 34px; top: 60%; right: 8%; }
  .hero-floating-icons .icon-5 { font-size: 28px; bottom: 20%; left: 8%; }
  .hero-floating-icons .icon-6 { font-size: 30px; bottom: 12%; left: 34%; }
  .hero-floating-icons .icon-7 { font-size: 28px; bottom: 26%; right: 28%; }
  .hero-floating-icons .icon-8 { font-size: 32px; top: 42%; left: 62%; }
}

.kicker { color: #a9db96; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-size: .78rem; }
.hero h1 {
  margin: 6px 0;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-family: Sora, sans-serif;
  line-height: .95;
}
.hero h1 span { color: var(--green); }
.lead { max-width: 54ch; color: #d9e5ff; }
.hero-logo {
  width: clamp(140px, 20vw, 220px);
  height: auto;
  display: block;
  margin: 20px 0 8px;
  object-fit: contain;
}
.hero-actions { display: flex; gap: 10px; margin: 16px 0 18px; flex-wrap: wrap; }

.section-divider {
  position: absolute;
  width: 100%;
  height: 100px;
  left: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
  transform: none !important;
}

.section-divider-between {
  position: relative;
  margin-top: -100px;
  margin-bottom: -2px;
}

.section-divider-between svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-divider-between path { fill: #ffffff; }
.section-divider-between.wave-white path { fill: #ffffff; }
.section-divider-between.wave-green path { fill: #e8f6ea; }
.section-divider-between.wave-blue path { fill: #edf4ff; }
.section-divider-between.wave-dark path { fill: #072257; }

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.2;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(13, 41, 92, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary { background: linear-gradient(140deg, var(--green), var(--green-2)); color: #fff; }
.btn-ghost { border: 1px solid #91a9dc; color: #e5ecff; }

.btn::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -35%;
  width: 45%;
  height: 300%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  transform: rotate(18deg);
  transition: left .42s ease;
  pointer-events: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 120%;
}

.btn:hover,
.btn:focus-visible {
  box-shadow:
    0 14px 28px rgba(13, 41, 92, 0.3),
    0 0 18px rgba(121, 179, 255, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.inscricao-cta-wrap {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.inscricao-cta {
  white-space: normal;
  max-width: 100%;
  text-align: center;
}

#cta-inscricao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.inscricao-alerta {
  flex: 1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8fbff;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.inscricao-alerta i {
  color: #d58900;
}

.inscricao-alerta span {
  color: var(--muted);
  line-height: 1.25;
}

.inscricao-alerta:hover {
  background: #eef5ff;
  border-color: #c5d8fb;
}

.inscricao-alerta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(10, 47, 117, 0.2);
  border-color: var(--blue);
}

.hero-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: #e0ebff;
}

.hero-meta li i {
  margin-right: 10px;
}

.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: var(--radius);
  padding: 22px;
}

.hero-carousel {
  position: relative;
}

.hero-carousel-track {
  position: relative;
  height: clamp(220px, 32vw, 320px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
}

.hero-carousel-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .35s ease, transform .45s ease;
}

.hero-carousel-track img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(8, 25, 60, 0.5);
  color: #fff;
  cursor: pointer;
}

.hero-carousel-btn.prev { left: 10px; }
.hero-carousel-btn.next { right: 10px; }

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 7px;
}

.hero-carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.hero-carousel-dots button.active {
  background: #57be42;
}


/* Justificação de textos de conteúdo */
.lead,
.card p,
.contact .card p,
details p,
#regulamento details li,
.list-panel a {
  text-align: justify;
  text-justify: inter-word;
}

/* Exceções de UI para manter legibilidade e interação */
.menu a,
.btn,
.inscricao-cta,
.section h2,
.hero h1,
.card h3,
.criteria-card h4,
summary,
.hero-meta,
.hero-meta li,
.kicker,
.contact .card h3,
.list-panel a i,
h2 i,
h3 i {
  text-align: left;
}

/* Em mobile, evitar justificação em blocos muito curtos */
@media (max-width: 640px) {
  .hero-meta li,
  .contact .card p {
    text-align: left;
  }
}
.alt { background: linear-gradient(180deg, #f7fbff, #eef4ff); }

/* Alternância harmônica de fundos por seção */
#inscricoes { background: #ffffff; }
#regulamento { background: var(--green); }
#documentacao { background: linear-gradient(180deg, #f5f9ff 0%, #ecf3ff 100%); }
#faq { background: linear-gradient(130deg, var(--bg) 0%, var(--bg-2) 55%, #12398d 100%); }
#categorias { background: var(--green); }
#cronograma { background: linear-gradient(180deg, #f4f8ff 0%, #eaf2ff 100%); }
#avaliacao { background: #ffffff; }
#local { background: var(--green); }
#equipe { background: linear-gradient(180deg, #f4f8ff 0%, #e9f1ff 100%); }
#equipe .cards {
  margin-bottom: 46px;
}


#regulamento h2,
#faq h2,
#categorias h2,
#local h2,
#local h2 i,
#categorias h2 i {
  color: #fff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(120, 170, 255, 0.25),
    0 0 20px rgba(120, 170, 255, 0.15);
}

#categorias .categorias-subtitle {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  -webkit-text-fill-color: #fff;
}



#regulamento h2,
#regulamento h2 i {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(120, 170, 255, 0.25),
    0 0 20px rgba(120, 170, 255, 0.15);
}

#categorias .categorias-cards {
  margin-bottom: 28px;
}

#categorias .categorias-areas-block {
  margin-top: 30px;
  padding-top: 22px;
  background: var(--green);
  border-top: 1px dashed rgba(10, 47, 117, 0.22);
}

#categorias .categorias-subtitle {
  margin: 0 0 14px;
  font-family: Sora, sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  background: linear-gradient(95deg, #101318 0%, #1a1f29 58%, #2a3447 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(120, 170, 255, 0.25),
    0 0 20px rgba(120, 170, 255, 0.15);
}

#categorias .categorias-subtitle i {
  margin-right: 8px;
  color: #2b5cab;
}

#categorias .categorias-subtitle-subareas {
  margin-top: 20px;
}

#categorias .categorias-subtitle,
#categorias .categorias-subtitle-subareas {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(120, 170, 255, 0.25),
    0 0 20px rgba(120, 170, 255, 0.15);
}


#categorias .areas-cards {
  gap: 12px;
  align-items: stretch;
}

#categorias .areas-cards .card {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  min-height: 72px;
}

#categorias .areas-cards .card h3 {
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.25;
  font-size: .98rem;
}

#categorias .master-subareas-cards {
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#categorias .master-subareas-cards .card h3 {
  font-size: .95rem;
}
.cards { display: grid; gap: 14px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.three .card.span-2 { grid-column: span 2; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 8px; font-family: Sora, sans-serif; font-size: 1rem; }
.card p { margin: 0; color: var(--muted); }
.card.span-2 { grid-column: 1 / -1; }

.criteria-card h4 {
  margin: 14px 0 8px;
  font-family: Sora, sans-serif;
  font-size: .95rem;
  color: var(--bg);
}

.criteria-card ul {
  margin: 0;
  padding-left: 18px;
}

.criteria-card li {
  color: var(--muted);
  margin-bottom: 5px;
}

#avaliacao .cards.two {
  grid-template-columns: 1fr;
  max-width: none;
  width: 100%;
}

#avaliacao .cards.two > .criteria-card {
  grid-column: auto;
  grid-row: auto;
}

.card.highlight {
  border: none;
  background: linear-gradient(130deg, #0b2f77, #1246a1);
}
.card.highlight h3,
.card.highlight p { color: #fff; }

.list-panel {
  display: grid;
  gap: 10px;
}
.list-panel a {
  text-decoration: none;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

#faq details {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); }
#regulamento details ul {
  margin: 10px 0 2px;
  padding-left: 20px;
}

#regulamento details li {
  color: var(--muted);
  margin-bottom: 8px;
}

#regulamento details li strong {
  color: var(--text);
}

#faq summary,
#faq details p {
  color: #fff;
}


.timeline {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 42px;
  width: 2px;
  height: calc(100% + 14px);
  background: #d8e2f5;
}

.timeline-dot {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(3, 24, 69, 0.15);
}

.timeline .timeline-dot i {
  margin-right: 0;
  color: #fff;
  font-size: .95rem;
  line-height: 1;
}

.timeline-content {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
  padding-top: 4px;
}

.timeline-content strong {
  color: var(--text);
}

.t-green .timeline-dot { background: #35a948; }
.t-gold .timeline-dot { background: #d5a21f; }
.t-blue .timeline-dot { background: #2196d2; }
.t-purple .timeline-dot { background: #8a69cf; }
.t-yellow .timeline-dot { background: #d2a01e; }

@media (max-width: 980px) {
  .timeline-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .timeline-dot {
    width: 36px;
    height: 36px;
    font-size: .9rem;
  }

  .timeline .timeline-dot i {
    font-size: .82rem;
  }

  .timeline-item:not(:last-child)::after {
    left: 17px;
    top: 36px;
  }

  .timeline-content {
    font-size: 1rem;
  }
}

.contact { background: linear-gradient(180deg, #0a2a6b, #072257); color: #fff; }
.contact h2 { color: #fff; }
.contact .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.contact .card h3, .contact .card p { color: #fff; }
.contact .card a {
  color: inherit;
  text-decoration: none;
}

.footer {
  background: #031845;
  color: #cddbf9;
  text-align: center;
  padding: 24px 0;
}

.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-enabled .reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(3px);
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
  will-change: opacity, transform, filter;
}

.reveal-enabled .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  :root { --header-offset: 94px; }

  .container { width: calc(100% - 1rem); }

  .section { padding: 34px 0; }
  .section h2 { margin: 0 0 18px; }

  .menu {
    position: fixed;
    top: var(--header-offset);
    right: 4vw;
    left: 4vw;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: 75vh;
    overflow: auto;
    justify-content: flex-start;
    flex: initial;
  }

  .menu.open { display: flex; }
  .menu a { padding: 9px 11px; }
  .menu-toggle { display: inline-block; }
  .hero { padding-top: 72px; padding-bottom: 76px; }
  .section-divider {
    height: 70px;
  }
  .section-divider-between {
    margin-top: -70px;
  }
  .hero-actions { margin: 12px 0 14px; }
  .hero-meta { gap: 4px; }
  .hero-grid { grid-template-columns: 1fr; }
  .inscricao-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .inscricao-cta { width: 100%; text-align: center; }
  #cta-inscricao {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .inscricao-alerta { width: 100%; }
  .card.span-2 { grid-column: auto; }
  #avaliacao .cards.two {
    grid-template-columns: 1fr;
  }
  #avaliacao .cards.two > .card:not(.criteria-card),
  #avaliacao .cards.two > .criteria-card {
    grid-column: auto;
    grid-row: auto;
  }
  .cards.two, .cards.three { grid-template-columns: 1fr; }
  #equipe .cards {
    margin-bottom: 72px;
  }


  .section-floating-icons .icon-a { font-size: 30px; left: 4%; }
  .section-floating-icons .icon-b { font-size: 36px; right: 6%; }
  .section-floating-icons .icon-c { font-size: 32px; left: 52%; }

  #regulamento h2,
#regulamento h2 i {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 10px rgba(120, 170, 255, 0.25),
    0 0 20px rgba(120, 170, 255, 0.15);
}

#categorias .categorias-cards {
    margin-bottom: 20px;
  }

  #categorias .categorias-areas-block {
    margin-top: 22px;
    padding-top: 18px;
  }


#categorias .categorias-subtitle {
    font-size: 1.02rem;
    margin-bottom: 12px;
  }

  #categorias .categorias-subtitle-subareas {
    margin-top: 16px;
  }

  #categorias .master-subareas-cards {
    grid-template-columns: 1fr;
  }
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.download-modal.is-open {
  display: block;
}

.download-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 35, 0.58);
  backdrop-filter: blur(2px);
}

.download-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 2rem));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
  padding: 20px;
}

.download-modal__dialog h3 {
  margin: 0 0 10px;
  font-family: Sora, sans-serif;
}

.download-modal__dialog p {
  margin: 0 0 18px;
  color: var(--text);
}

.download-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

body.modal-open {
  overflow: hidden;
}
html.modal-open,
body.modal-open {
  overflow: hidden;
}
