
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../assets/images/banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: #552D8A;
  opacity: 0.8;
}


.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 680px;
  margin-left: 4rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero .highlight {
  color: #ffd400;
}

.hero-buttons {
  display: inline-flex;
  gap: 1rem;
}

.hero-buttons .btn {
  font-family: 'Archivo Black', sans-serif;
  padding: 1.2rem 1.6rem;
  text-decoration: none;
}

.btn-primary {
  background: #ffd400;
  color: #000;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

@media (max-width: 768px) {
  .hero-content {
    margin: 0;
    padding: 0 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}
/* =========================
   QUEM SOMOS
========================= */

.quem-somos {
  padding: 4rem 0;
  background: #f8f8f7;
}

.quem-somos-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* TEXTO */
.quem-somos-texto h2 {
  color: #d60000;
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.quem-somos-texto p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* CITAÇÃO */
.citacao {
  background: #fff3c4;
  padding: 1.4rem 1.6rem;
  border-left: 6px solid #ffd400;
  margin-top: 2rem;
}

.citacao p {
  margin: 0;
  font-style: italic;
}

.citacao span {
  display: block;
  margin-top: 0.6rem;
  color: #d60000;
  font-weight: 700;
}

/* IMAGEM */
.quem-somos-imagem {
  display: flex;
  justify-content: center;
}

.quadro {
  background: #43227a;
  padding: 2.2rem;
  transform: rotate(-2deg);
}

.quadro img {
  display: block;
  max-width: 100%;
  background: #5a378f;
  padding: 1.8rem;
}
@media (max-width: 768px) {
  .quem-somos-grid {
    grid-template-columns: 1fr;
  }

  .quem-somos-texto h2 {
    font-size: 2rem;
  }

  .quadro {
    transform: none;
  }
}
/* =========================
   METODOLOGIA
========================= */

.metodologia {
  background: #5a378f; /* roxo correto */
  padding: 6rem 0 7rem;
  overflow: hidden;
}
.metodologia h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: black;
}

.metodologia-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: black;
}

/* GRID DE CARDS */
.metodologia-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}


/* CARD */
.card {
  background: #fff;
  color: #000;
  padding: 2rem 1.6rem;
  border: 2px solid #000;
  box-shadow: 6px 6px 0 #000;
  text-align: center;
}

/* ÍCONE */
.icone {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem;
  background: #ffd400;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* TÍTULO DO CARD */
.card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* TEXTO DO CARD */
.card p {
  font-size: 0.95rem;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .metodologia-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .metodologia-cards {
    grid-template-columns: 1fr;
  }

  .metodologia h2 {
    font-size: 2.2rem;
  }
}
/* =========================
   O PROJETO
========================= */

.projeto {
  background: #f8f8f7;
  padding: 6rem 0;
  overflow: hidden;
}

.projeto-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

/* IMAGEM */
.projeto-imagem {
  display: flex;
  justify-content: center;
}

.moldura-vermelha {
  background: #d60000;
  padding: 1.6rem;
  transform: rotate(-2deg);
}

.moldura-vermelha img {
  display: block;
  max-width: 100%;
  border: 2px solid #000;
  filter: grayscale(100%);
}

/* TEXTO */
.projeto-texto h2 {
  color: #d60000;
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.projeto-texto p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

/* INFO BOXES */
.projeto-info {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
}

.info-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  font-weight: 600;
  background: #fff;
}

.info-box .icone {
  color: #d60000;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .projeto-grid {
    grid-template-columns: 1fr;
  }

  .projeto-texto h2 {
    font-size: 2.1rem;
  }

  .moldura-vermelha {
    transform: none;
  }

  .projeto-info {
    flex-direction: column;
  }
}
/* =========================
   ISOLAMENTO DE SEÇÕES
========================= */
section {
  position: relative;
  clear: both;
}
/* =========================
   BIBLIOTECA VIRTUAL
========================= */

.biblioteca-hero {
  background: #552d8a;
  color: #fff;
  padding: 6rem 0 4rem;
  text-align: center;
}

.biblioteca-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.biblioteca-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.biblioteca-conteudo {
  padding: 4rem 0;
  background: #f8f8f7;
}

.biblioteca-conteudo h2 {
  color: #d60000;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.biblioteca-conteudo p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.biblioteca-lista {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.biblioteca-lista li {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
/* =========================
   BIBLIOTECA – LIVROS
========================= */

.biblioteca-cards {
  padding: 5rem 0;
  background: #f8f8f7;
}

.biblioteca-cards h2 {
  text-align: center;
  color: #d60000;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.biblioteca-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

/* GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* CARD LIVRO */
.livro-card {
  background: #fff;
  border: 2px solid #000;
  box-shadow: 6px 6px 0 #000;
  display: flex;
  flex-direction: column;
}

/* CAPA */
.livro-capa {
  padding: 2rem;
  border-bottom: 2px solid #000;
  display: flex;
  justify-content: center;
}

.livro-capa img {
  max-height: 220px;
}

/* TEXTO */
.livro-info {
  padding: 1.8rem;
}

.livro-info h3 {
  color: #d60000;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.autor {
  display: block;
  font-weight: 700;
  margin-bottom: 1rem;
}

.livro-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================
   MATERIAIS DE ESTUDO
========================= */

.materiais-estudo {
  background: #fff6da;
  padding: 4rem 0 5rem;
}

.materiais-estudo h2 {
  color: #d60000;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* GRID */
.materiais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* CARD MATERIAL */
.material-card {
  background: #fff;
  border: 2px solid #000;
  box-shadow: 6px 6px 0 #000;
  padding: 2rem;
}

.material-card h3 {
  margin-bottom: 1.2rem;
}

.material-card ul {
  list-style: none;
  padding: 0;
}

.material-card li {
  margin-bottom: 0.8rem;
}

.material-card a {
  color: #d60000;
  font-weight: 600;
  text-decoration: none;
}

/* BADGE */
.badge {
  background: #e5e5e5;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-left: 0.4rem;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid,
  .materiais-grid {
    grid-template-columns: 1fr;
  }

  .biblioteca-cards h2 {
    font-size: 2.1rem;
  }
}
/* =========================
   FIX DEFINITIVO – CARDS BIBLIOTECA
========================= */

.biblioteca-cards article {
  position: relative;
  background: #ffffff;
  border: 3px solid #000;
  box-shadow: 8px 8px 0 #000;
  overflow: hidden;
}

/* garante separação visual */
.cards-grid > article {
  align-self: stretch;
}

/* evita herança visual da section */
.biblioteca-cards {
  isolation: isolate;
}
/* ===============================
   CONTATO
================================= */

.contato-hero {
  padding: 80px 0 40px;
  background: #f2f2f2;
  text-align: center;
}

.contato-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.contato-conteudo {
  padding: 60px 0;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ffd400;
  outline: none;
}

.contato-info {
  background: #fafafa;
  padding: 30px;
  border-radius: 8px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   CONTATO – PADRÃO BIBLIOTECA
================================= */

.contato-secao {
  padding: 80px 0;
  background: #f4f4f4;
  text-align: center;
}

.titulo-vermelho {
  font-family: 'Archivo Black', sans-serif;
  color: #d60000;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.contato-intro {
  max-width: 700px;
  margin: 0 auto 50px;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  text-align: left;
}

.contato-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: 'Work Sans', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #ffd400;
  outline: none;
}

.contato-info {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   CHECKBOX CONTATO
================================= */

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  cursor: pointer;
}
.contato-form,
.contato-info{
border:2px solid #000;
box-shadow:6px 6px 0 #000;
}
/* CONTATO INSTITUCIONAL */

.contato-form,
.contato-info{
border:2px solid #000;
box-shadow:6px 6px 0 #000;
}

.contato-imagem img{
width:100%;
margin-bottom:20px;
border:2px solid #000;
}

.info-item{
margin-bottom:18px;
}

/* ===============================
   AVISO MENSAGEM ENVIADA
================================= */

.mensagem-sucesso{

display:none;

max-width:900px;
margin:30px auto;

background:#e6ffe6;

border:2px solid #2e7d32;

padding:16px;

font-weight:600;

position:relative;

}

.mensagem-sucesso button{

position:absolute;
right:10px;
top:8px;

background:none;
border:none;

font-size:18px;
cursor:pointer;

}