body {
  font-family: Arial, sans-serif;
  background: #faf6ea;
  margin: 0;
  padding: 0;
}

.header {
  background: #2d180c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 1.5rem 2px 1.5rem;
  /* CIMA DIREITA BAIXO ESQUERDA */
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 12px;
    font-size: 1rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav a:hover {
    opacity: 1;
}

.icon-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 8px;
    background: #fff;
    border: 2px solid #2c180f;
    transition: box-shadow 0.2s;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo img {
  height: 80px; /* Defina uma altura fixa. 80px é um bom valor, similar à imagem de perfil. */
  width: auto; /* Mantém a proporção da imagem automaticamente. */
  max-height: 100%; /* Garante que a imagem não ultrapasse a altura do top-header */
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #ffcc3a;
  background: #fff;
  object-fit: cover;
}

.icon-img:hover {
    box-shadow: 0 0 0 2px #f9c22e;
}

.icon-img-branca {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 8px;
    background: #2c180f;
    border: 2px solid #2c180f;
    transition: box-shadow 0.2s;
}

.icon-img-branca:hover {
    box-shadow: 0 0 0 2px #f9c22e;
}

#img-arremata {
    margin-right: 24px;
    width: 200px;
    height: 70px;
}

/* Layout principal */
.container {
  max-width: 1000px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.card {
  border: 2px solid #ccc; /* cor da borda */
  border-radius: 10px; /* cantos arredondados */
  padding: 20px;
  background-color: #fff; /* mantém o fundo branco */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* leve sombra */
}

/* Perfil */
.profile-info {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.profile-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #f2a500;
  object-fit: cover;
}

.profile-img:hover {
  cursor: pointer;
}

.edit-btn {
  margin-top: 10px;
  border: none;
  background: #f2a500;
  color: white;
  border-radius: 50%;
  min-width: 35px;
  min-height: 35px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: 0.3s;
}

.edit-btn:hover {
  padding-bottom: 0.3rem;
  background-color: #f7d46e;
}

.log-out {
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 10px;
  background-color: #d4d3d0;
  border-radius: 10px;
  text-align: center;

  transition: padding 0.5s ease, background-color 0.3s ease, color 0.3s ease;
}

.log-out:hover {
  padding: 0.7rem;
  color: red;
  background-color: #dddddc;
}

.profile-right {
  flex: 1;
}

.input-group {
  margin-bottom: 12px;
}

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

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #eee;
  font-size: 0.95rem;
  resize: none;
}

.editable:focus {
  outline: 2px solid #f2a500;
}

.rating {
  font-size: 1.5rem;
  color: #f2a500;
  margin: 10px 0;
}

/* Avaliações */
.reviews h3, .portfolio h3 {
  margin-bottom: 15px;
  color: #3b2b26;
}

.review {
  margin-bottom: 15px;
}

.review .client {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.review img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.review .stars {
  color: #f2a500;
  font-size: 1.1rem;
}

/* Portfólio */
.portfolio-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.thumb {
  width: 50px;
  height: 50px;
  background: #d9d9d9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
  }
}
