:root {
  --vermelho: #a90012;
  --vermelho-escuro: #82000d;
  --azul: #12395c;
  --azul-claro: #65a6e1;
  --azul-escuro: #0b2c4a;
  --verde: #557b32;
  --laranja: #df8a16;
  --roxo: #78549a;
  --creme: #f7f3ec;
  --cinza: #edf1f4;
  --texto: #1c2630;
  --branco: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  line-height: 1.6;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* CABEÇALHO */

header {
  background: #ffffffe0;
  opacity: 0;
  border-bottom: 1px solid #ddd;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: 0.2s;
}

header:hover {
  opacity: 1;
}

.mobile-header {
  display: none;
  justify-content: space-between;
  position: fixed;
  padding: 5px;
  background: #ffffffe0;
  border-bottom: 1px solid #ddd;
  width: 100vw;
  z-index: 1000;
}

.mobile-nav {
  display: none;
  position: fixed;
  position: fixed;
  width: 95vw;
  height: 100vh;
  padding: 30px;
  margin-left: 5vw;
  background: #ffffff;
  border-left: 1px solid #ddd;
  z-index: 1001;
  transition: 1s;
}

.opened {
  display: block;
}

.mobile-nav > nav > ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav > nav > ul {
  color: #252f3c;
  font-size: 20px;
  font-weight: 600;
}

.mobile-nav > nav > ul li {
  width: 100%;
  text-align: center;
}

.skeleton-header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  top: 0;
}

.topo {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
}

.marca {
  display: flex;
  align-items: center;
  flex: 0 1 220px;
  min-width: 160px;
}

.logo-ufsj {
  display: block;
  width: 100%;
  height: auto;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  gap: clamp(8px, 1.2vw, 20px);
  list-style: none;
  align-items: center;
}

nav a {
  color: #252f3c;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

nav a:hover {
  color: var(--vermelho);
}

.hero-intro {
  margin-bottom: 18px;
}

.live-link {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--vermelho);
}

.documentos-intro {
  padding-bottom: 17px;
  text-align: justify;
}

/* HERO */

.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,247,242,.94)),
    radial-gradient(circle at right, #efd0ca 0, transparent 45%);
  padding: 65px 0 50px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 35px;
  align-items: center;
}

.hero h1 {
  color: var(--azul);
  font-size: clamp(52px, 7vw, 84px);
  line-height: .94;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero h2 {
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.28;
  color: var(--azul-escuro);
  margin-bottom: 22px;
  max-width: 780px;
}

.data {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  color: var(--vermelho);
  font-weight: 700;
  margin-bottom: 18px;
}

.data img {
  width: 30px;
  height: 30px;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
}

.hero-visual {
  min-height: 430px;
  display: flex;
  flex-direction: column;

  align-items: flex-end;
  justify-content: center;
}

.hero-pessoas {
  width: 100%;
  max-width: 530px;
  object-fit: contain;
}

.hero-card {
  background: var(--azul);
  color: white;
  padding: 22px 26px;
  border-radius: 0 0 16px 16px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}

.hero-card img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.hero-card strong {
  font-size: 20px;
  line-height: 1.35;
}

/* TÍTULOS */

.numero {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--azul);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
}

.titulo-secao {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 34px;
}

.titulo-secao h2 {
  color: var(--azul);
  font-size: 31px;
  line-height: 1.15;
}

/* SEÇÃO 1 */

#participe {
  background: var(--azul-escuro);
  color: white;
  padding: 60px 0;
}

#participe .numero {
  background: white;
  color: var(--azul-escuro);
}

#participe .titulo-secao h2 {
  color: white;
}

.participacao-grid {
  display: grid;
  grid-template-columns: .85fr 1.6fr;
  gap: 55px;
}

.chamada p {
  font-size: 18px;
  margin-bottom: 18px;
}

.passos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 22px;
}

.passo {
  text-align: center;
}

.icone-circulo {
  width: 86px;
  height: 86px;
  margin: 0 auto 16px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icone-circulo img {
  filter: brightness(0) saturate(100%);
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.passo-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  background: white;
  color: var(--azul-escuro);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 7px;
}

.passo strong {
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}

.passo p {
  font-size: 14px;
  line-height: 1.45;
}

/* SEÇÃO 2 */

#politica {
  padding: 70px 0;
  background: #fff;
}

.politica-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.beneficio {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.beneficio-icone {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--vermelho);
  display: flex;
  align-items: center;
  justify-content: center;
}

.beneficio-icone img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.beneficio:nth-child(2) .beneficio-icone {
  background: var(--verde);
}

.beneficio:nth-child(3) .beneficio-icone {
  background: var(--roxo);
}

.beneficio:nth-child(4) .beneficio-icone {
  background: var(--laranja);
}

.subtitulo {
  color: var(--azul);
  font-size: 24px;
  margin-bottom: 8px;
}

.etapas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.etapa {
  text-align: center;
  padding: 14px;
}

.etapa .icone {
  margin: auto auto 12px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.etapa .icone img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

.etapa:nth-child(1) .icone {
  background: var(--azul-claro);
}

.etapa:nth-child(2) .icone {
  background: var(--verde);
}

.etapa:nth-child(3) .icone {
  background: var(--roxo);
}

.etapa:nth-child(4) .icone {
  background: var(--laranja);
}

.etapa strong {
  color: var(--azul);
  display: block;
  margin-bottom: 9px;
  font-size: 16px;
}

.etapa p {
  font-size: 14px;
}

.representatividade {
  margin-top: 35px;
  background: var(--cinza);
  padding: 26px;
  border-radius: 12px;
  border-left: 6px solid var(--azul);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
}

.representatividade img {
  width: 60px;
  height: 60px;
}

.representatividade h3 {
  color: var(--azul);
  margin-bottom: 7px;
}

/* DOCUMENTOS */

#documentos {
  background: #eef3f7;
  padding: 65px 0;
}

.card {
  background: white;
  border: 1px solid #cfd8df;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 5px 16px rgba(0,0,0,.04);
}

.card-topo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.documento .card-icon {
  background: var(--vermelho);
}

.formulario .card-icon {
  background: var(--verde);
}

.card h3 {
  color: var(--azul);
  font-size: 22px;
}

.botao {
  align-self: flex-start;
  display: inline-block;
  margin-top: 10px;
  padding: 13px 22px;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
}

.botao-vermelho {
  background: var(--vermelho);
}

.botao-verde {
  background: var(--verde);
}

.botao:hover {
  filter: brightness(.88);
}

.periodo {
  text-align: center;
  color: var(--azul);
  font-size: 18px;
  margin-top: 30px;
}

/* PRÓXIMOS PASSOS */

#proximos {
  background: var(--azul-escuro);
  color: white;
  padding: 70px 0;
}

#proximos .numero {
  background: white;
  color: var(--azul);
}

#proximos .titulo-secao h2 {
  color: white;
}

.proximos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.proximo {
  border-top: 1px solid rgba(255,255,255,.28);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proximo .icone {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.proximo .icone img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
 
.pesquisa {
	    filter: none;
}

.proximo h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.proximo p {
  font-size: 14px;
  color: #e9eef3;
}

/* FAQ */

#duvidas {
  padding-top: 70px;
  background: #fff;
}

.faq-intro {
  max-width: 780px;
  margin-bottom: 32px;
  font-size: 17px;
}

.faq details {
  background: #f7f8fa;
  border: 1px solid #d9e0e5;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 20px 60px 20px 24px;
  font-weight: bold;
  color: var(--azul);
  font-size: 17px;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 13px;
  font-size: 28px;
  color: var(--vermelho);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq-resposta {
  padding: 0 24px 22px;
  color: #404b55;
}

.faq-resposta a {
  color: var(--vermelho);
  font-weight: bold;
}

/* CTA */

.cta {
  padding: 34px 0;
  background: #fff8f4;
}

.cta-conteudo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.cta-conteudo img {
  width: 56px;
  height: 56px;
}

.cta strong {
  color: var(--vermelho);
  font-size: 20px;
}

.cta span {
  font-size: 20px;
}

/* RODAPÉ */

footer {
  background: var(--vermelho);
  color: white;
  padding: 30px 0;
}

.rodape-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rodape-grid img {
    width: 20%;
}

footer a {
  color: white;
  font-weight: bold;
}

footer small {
  display: block;
  opacity: .9;
}
@media (max-width: 900px) {

  .hero-grid,
  .participacao-grid,
  .politica-grid,
  .cards-documentos {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .passos,
  .etapas,
  .proximos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rodape-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rodape-marca {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  header {
    display: none;
  }

  .skeleton-header {
    display: none;
  }

  .mobile-header{
    display: flex;
  }

  .card-icon {
    display: none;
  }

  .btn-group {
    display: flex;
    flex-direction: column;
  }

  .btn-group > a {
    width: 100%;
    text-align: center;
  }
  .passos,
  .etapas,
  .proximos-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 50px;
  }

  .data {
    font-size: 18px;
  }

  .hero-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: -20px;
  }

  .representatividade {
    grid-template-columns: 1fr;
  }

  .cta-conteudo {
    flex-direction: column;
  }
}
