body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:#f1f1f1;
  color: #1E1E26;
   margin: 0;
  padding: 0;
  width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.only-modelo {
  display: none;
}

body.role-modelo .only-modelo {
  display: block;
}

body.role-cliente .area-saldos {
  display: none !important;
}


/*CONTAINER PRINCIPAL*/

.area-card {
  max-width: 1100px;
  margin: 90px auto 30px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: linear-gradient(135deg, #9e6bff, #7b2cff);
  position: relative;
  padding: 0 20px 40px !important;

}

/* CAPA*/
.perfil-capa {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.perfil-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* AVATAR */
.perfil-avatar {
  position: absolute;
  top: 130px;
  left: 30px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #7b2cff;
  background: #fff; /* evita vazamento da capa atrás */
}

.perfil-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.perfil-nome {
  margin: 30px 30px 5px 20px;
  font-size: 30px;
  font-weight: 600;
  color: #1E1E26;
  margin-top: 70px; 
}

.area-assinantes {
  font-size: 18px;
  opacity: .85;
}

.area-assinantes span {
  color: #1E1E26;
  font-weight: 600;
  margin: 30px 10px 5px 20px;
}

.btn-camera {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;

  background: linear-gradient(135deg, #9e6bff, #7b2cff);
  color: #fff;

  font-size: 18px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

/* hover */
.btn-camera:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* clique */
.btn-camera:active {
  transform: scale(0.95);
}


.btn-camera.capa {
  bottom: 12px;
  right: 12px;
}

.btn-camera.avatar {
  bottom: 0;
  right: 0;
  transform: translate(25%, 25%);
}


/*SALDOS */
.area-saldos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 25px 30px 30px;
  text-align: center;
}

.saldo-box {
  background: linear-gradient(135deg, #9e6bff, #7b2cff);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}

.saldo-titulo {
  font-size: 20px;
  opacity: .7;
  color: #fff;
  line-height: 1.2;
}

.saldo-valor {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  display: block;
  line-height: 1.2;
}

/* SEÇÕES*/
.area-section {
  max-width: 900px;
  margin: 20px auto 60px;
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: linear-gradient(135deg, #9e6bff, #7b2cff);
}

.area-titulo {
  font-size: 30px;
  margin-bottom: 18px;
  display: block;
  text-align: center;

}

/*BANNER*/
.area-banner {
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.area-banner img {
  width: 100%;
  object-fit: cover;

}

/*ITENS (LINKS) */
.area-item {
  background: #f1f1f1;
  border-radius: 14px;
  padding: 15px 18px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: .25s;
  justify-content: space-evenly;

}

.area-item strong {
  font-size: 20px;
  color:#1E1E26;
}

.area-item span {
  font-size: 16px;
  opacity: .7;
}

.area-item:hover {
  background: #9e6bff;
  transform: translateY(-2px);
}

.area-item.destaque {
  background: linear-gradient(135deg, #7b2cff, #9e6bff);
}

.area-item.destaque span {
  opacity: .95;
}

/* sair */
.area-item.sair {
  background:#f1f1f1;;
  text-align: center;
}

.area-item.sair:hover {
  background: #7b2cff;
}

/* ===============================
   GRID CRIADOR
================================ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
  gap: 15px;
  display: block;
}

.area-grid-usuario {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));

}

/* ===============================
   FOOTER
================================ */
.footer {
  max-width: 900px;
  margin: 40px auto 30px;
  text-align: center;
  opacity: .6;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 8px;
}

.footer-links a:hover {
  color: #9e6bff;
}

/* ===============================
   RESPONSIVO
================================ */
@media (max-width: 768px) {

  .perfil-avatar {
    left: 50%;
    transform: translateX(-50%);
  }
  .area-saldos {
    padding-top: 20px;
  }
}

/*MOBILE – 1 MENU POR LINHA */
@media (max-width: 768px) {

  /* grids principais */
  .area-grid,
  .area-grid-usuario {
    grid-template-columns: 1fr !important;
  }

  /* melhora toque no mobile */
  .area-item {
    padding: 18px 16px;
  }

  .area-item strong {
    font-size: 18px;
  }

  .area-item span {
    font-size: 15px;
  }
}

.form-bloqueado {
  position: relative;
  opacity: 0.6;
}

.form-bloqueado::after {
  content: "Dados já aprovados";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: #444;
  border-radius: 12px;
}

.hidden {
  display: none !important;
}


/* ===============================
   CONFIRMAÇÃO TITULAR
================================ */

.confirmacao-box {
  margin-top: 15px;
  margin-bottom: 20px;
}

.confirmacao-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
  color: #1E1E26;
}

.confirmacao-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #7b2cff;
  cursor: pointer;
}

/* ===============================
   BOTÕES FORMULÁRIO
================================ */

.acoes-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primario {
  background: linear-gradient(135deg, #9e6bff, #7b2cff);
  border: none;
  color: #fff;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 6px 16px rgba(123,44,255,0.25);
}

.btn-primario:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123,44,255,0.35);
}

.btn-secundario {
  background: #f1f1f1;
  border: 1px solid #7b2cff;
  color: #7b2cff;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-secundario:hover {
  background: #7b2cff;
  color: #fff;
}

