@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
  background-color: #fff;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

main{
    text-align: center;
    width: 90%;
    margin: auto;
}

/*CABECALHO*/

header {
  width: 100%;
  display: flex;               
  align-items: center;         
  justify-content: space-between;
  background-color: #fff;      
  padding: 10px 40px;
  transition: background 0.3s; 
  font-family: 'Segoe UI', sans-serif;
}

.logo {
  height: 80px; 
  width: auto;
  margin-left: 20px;
  display: block;
}

#menu-container{
    flex :0.3;
    background-color: #821D1F;
    height: 100vh;
    width: 100%;
}

#workspace-container{
    flex :1.9;
    background-color: #fff;
    height: 100vh;
}

.top_container{
  background-color: #821D1F;
  position: fixed; 
  top: 0; 
  left: 0;
  width: 100%;
  height: 5%;
}

.menu {
  display: flex;
  gap: 20px;
  background: #f5f5f5;
  padding: 10px;
  justify-content: space-evenly;                      
  margin-left: 50px;
  width: 100%;
}

.menu a,
.dropdown span {
  text-decoration: none;
  color: #333;
  cursor: pointer;
  padding: 8px 12px;
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.menu a:hover,
.dropdown span:hover {
  text-decoration: underline; 
  text-decoration-thickness: 2px;
  text-underline-offset: 5px; 
  color: #CA3C3F;                 
}

/* Container do submenu */
.dropdown {
  position: relative;
}

/* Conteúdo escondido */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f5f5f5;
  min-width: 150px;
  padding-block: 16px;
  z-index: 1;
}

/* Links do submenu */
.dropdown-content a {
  display: block;
  padding: 10px;
  color: #333;
}

/* Mostrar submenu ao passar o mouse */
.dropdown:hover .dropdown-content {
  display: block;
}
/* CABECALHO*/
/*TITULOS E PARAGRAFOS*/

.titulos p{
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  color: #995151;
}

h1 {
  font-weight: bold;
  text-align: center;
  margin: 48px auto 20px;
  color: #811D20;
  width: fit-content;
  font-size: 2rem;
  text-transform: uppercase;
}

.subtitulo {
  font-size: 18px;
  color: #821D20;
  margin-bottom: 20px;
}

.texto-intro {
  max-width: 750px;
  margin: auto;
  line-height: 1.6;
  color: #444;
  font-size: 16px;
}

/*TITULOS E PARAGRAFOS*/
/*PARCEIROS*/

.parceiros_container h1{
    text-align: center;
    color: #811D20;
    font-size: 32px;
}

.conteudo {
    display: flex;
    align-items: center; 
    gap: 30px;
    justify-content: center;
}

.banner_parceiros{
  width: 400px;
}

.parceiros_lista{
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.parceiros_lista img {
    height: 70px;
}

.conteudo h2{
  text-align:center;
  display: block;
  font-size: 24px;
  color: #821D20;
  margin-bottom: 32px;
}

.parceiros {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  flex-wrap: wrap;
}

.parceiro {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-sizing: border-box;
  text-align: center;
  /* largura flexível, ruim usar margin-left fixo — usamos flex-basis */
  flex: 1 1 300px;      /* cresce, encolhe, base 300px */
  max-width: 360px;
  min-width: 240px;
}

/* título dentro dos blocos */
.parceiro h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #821D20;
  font-size: 20px;
}

/* imagem central - podemos controlar o tamanho */
.imagem-central {
  flex: 0 0 auto;       /* ocupa apenas o espaço da imagem */
  display: flex;
  align-items: center;
  justify-content: center;
}
.imagem-central img {
  width: 500px;         /* ajuste se quiser maior/menor */
  height: auto;
  display: block;
}

/* logos dentro dos blocos */
.logop {
  width: 120px;
  height: auto;
  margin: 8px;
  display: inline-block;
  
}
.logop2 {
  width: 120px;
  height: auto;
  margin: 8px;
  display: inline-block;
}

.logos {
  align-items: center; 
  margin-top: 40px;
  margin-bottom: 30px;
  margin-left: 50px;
  width:100px;
  height: auto;
}

.logos2 {
  align-items: center; 
  
  margin-bottom: 30px;
  margin-left: 125px;
  width:100px;
  height: auto;
}

/*PARCEIROS*/

footer {
  margin-top: 48px;
  width: 100%;       
  background-color: #821D20;
  padding: 24px 40px;
} 

footer h3{
  font-size: 15px;
  color: #fff;
}

footer p{
  font-size: 15px;
  margin-left: 10px;
  color: #fff;
}

.footer{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer div{
    display: flex;
    gap: 24px;
}

.footer a{
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer img{
  width: 30px;
  height: auto;
}

.pagina-erro,
.pagina-mensagem{
    height: calc(100vh - 327px);
}

.pagina-erro a,
.pagina-mensagem a{
    margin-top: 16px;
    display: inline-block;
    text-decoration: none;
    color: #811D20;
    border: solid 1px #811D20;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.8s ease;
}

.pagina-erro a:hover,
.pagina-mensagem a:hover{
    background-color: #ffe4e4;
}

.pagina-mensagem h1{
    font-weight: 500;
}