/* ---------- Base ---------- */
body {
  background-color: #fce988;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #fff;
  padding: 10px 20px;
}

.logo {
  height: 70px;
  width: auto;
}

/* Botão perfil fixo */
.profile-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background-color: #333;
    color: #fce988;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease;
    z-index: 1100;
}

.profile-button:hover {
    background-color: #555;
}

/* Painel perfil */
.painel {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 280px;
    background: #fce988;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 28px 24px;
    z-index: 1099;
    font-size: 0.9rem;
    user-select: none;
    color: #333;
}

/* Botão fechar no painel */
.painel .fechar {
    font-size: 1.3rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    text-align: right;
}

/* Texto da gestão */
.painel .gestao {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 14px;
    text-align: center;
    font-style: italic;
}

/* Avatar círculo com inicial */
.painel .avatar {
    width: 60px;
    height: 60px;
    margin: 12px auto 18px;
    background-color: #333;
    color: #fce988;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Saudação */
.painel h3 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

/* ---------- Conteúdo principal ---------- */
.conteudo {
  padding: 40px 20px;
}

.card {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.coluna-esquerda {
  flex: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.coluna-esquerda img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---------- Texto à direita ---------- */
.card-texto {
  flex: 1;
  max-width: 700px;
}

.card-texto h3 {
  font-size: 26px;
  margin-top: 0;
  text-transform: uppercase;
}

.card-texto p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.mais-info {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 16px;
}

/* ---------- Datas formatadas ---------- */
.datas-formatadas {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  max-width: 100%;
}

.datas-formatadas p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
}

.datas-formatadas p:last-child {
  margin-bottom: 0;
}

/* ---------- Bloco com barra vertical entre colunas ---------- */
.bloco-informacoes {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 30px;
}

.lado-esquerdo,
.lado-direito {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.lado-esquerdo p,
.lado-direito p {
  margin: 8px 0;
}

.barra-vertical {
  width: 2px;
  background-color: #333;
  min-height: 100%;
  align-self: stretch;
}

/* ---------- Responsivo ---------- */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    padding: 20px;
  }

  .coluna-esquerda,
  .card-texto {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .card-texto h3 {
    font-size: 22px;
  }

  .datas-formatadas {
    padding: 16px;
  }

  .datas-formatadas p {
    font-size: 14px;
  }

  .bloco-informacoes {
    flex-direction: column;
    gap: 20px;
  }

  .barra-vertical {
    display: none;
  }
}

@media (max-width: 480px) {
  .conteudo {
    padding: 20px 15px;
  }

  .card {
    padding: 15px;
  }

  .card-texto h3 {
    font-size: 20px;
  }

  .datas-formatadas p {
    font-size: 13px;
  }
}
.botao-editar-container {
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

.botao-editar {
  display: inline-block;
  background-color: #333;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.botao-editar:hover {
  background-color: #555;
}

.linha {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

a {
  font-size: 16px;
  text-decoration: none;
  color: #333;
}
.voltar{
  margin-left: 10px;
}
.voltar:hover{
  color: #777;
}.botao-editar-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.botao-editar, .botao-editar-container form button {
  background-color: #333;
  color: #fff;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.botao-editar:hover, .botao-editar-container form button:hover {
  background-color: #555;
}

.voltar {
  background-color: transparent;
  border: 2px solid #333;
  color: #333;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.voltar:hover {
  background-color: #333;
  color: #fff;
}
